|
48 | 48 | "deprecated": false, |
49 | 49 | "deprecationMessage": "", |
50 | 50 | "type": "Story", |
51 | | - "defaultValue": "{\n render: () => ({\n template: `\n <p class=\"text-primary\">This is a paragraph of body text.</p>\n `,\n }),\n}" |
| 51 | + "defaultValue": "{\n render: () => ({\n template: `\n <p class=\"text-default\">This is a paragraph of body text.</p>\n `,\n }),\n}" |
| 52 | + }, |
| 53 | + { |
| 54 | + "name": "Disabled", |
| 55 | + "ctype": "miscellaneous", |
| 56 | + "subtype": "variable", |
| 57 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 58 | + "deprecated": false, |
| 59 | + "deprecationMessage": "", |
| 60 | + "type": "Story", |
| 61 | + "defaultValue": "{\n args: {\n disabled: true,\n },\n render: (args) => ({\n template: `\n <lfx-buttons type=\"primary\" [disabled]=\"true\">\n <i class=\"fa-sharp fa-light fa-file-chart-column\"></i>\n <span>Button Text</span>\n <i class=\"fa-sharp fa-light fa-arrow-right\"></i>\n </lfx-buttons>\n `,\n }),\n parameters: {\n design: {\n type: 'figspec',\n url: 'https://www.figma.com/file/nj8rOxBtzQCa7KrvBxF4aF/Coherence-Design-System?node-id=772-5198&t=zfHib1d5XSXabYJp-4',\n },\n },\n play: async ({ canvasElement }) => {\n const element = getElement(canvasElement);\n await expect(element.querySelector('button')?.disabled).toBeTruthy();\n },\n}" |
52 | 62 | }, |
53 | 63 | { |
54 | 64 | "name": "Error", |
|
200 | 210 | "type": "Meta<ToastComponent>", |
201 | 211 | "defaultValue": "{\n title: 'LFX Components/Containers/Toast',\n component: ToastComponent,\n tags: ['autodocs'],\n render: (args) => ({\n template: `\n <lfx-toast type=\"${args.type}\">\n <h1>Title</h1>\n <p>Body paragraph</p>\n </lfx-toast>\n `,\n }),\n argTypes: {\n type: {\n control: 'select',\n options: ['notice', 'warning', 'success', 'error'] as IType[],\n },\n },\n args: {\n type: 'notice' as IType,\n },\n}" |
202 | 212 | }, |
| 213 | + { |
| 214 | + "name": "meta", |
| 215 | + "ctype": "miscellaneous", |
| 216 | + "subtype": "variable", |
| 217 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 218 | + "deprecated": false, |
| 219 | + "deprecationMessage": "", |
| 220 | + "type": "Meta<ButtonsComponent>", |
| 221 | + "defaultValue": "{\n title: 'LFX Components/Controls/Buttons',\n component: ButtonsComponent,\n tags: ['autodocs'],\n render: (args) => ({\n template: `\n <lfx-buttons type=\"primary\">\n <i class=\"fa-sharp fa-light fa-file-chart-column\"></i>\n <span>Button Text</span>\n <i class=\"fa-sharp fa-light fa-arrow-right\"></i>\n </lfx-buttons>\n `,\n }),\n}" |
| 222 | + }, |
203 | 223 | { |
204 | 224 | "name": "Notice", |
205 | 225 | "ctype": "miscellaneous", |
|
220 | 240 | "type": "Preview", |
221 | 241 | "defaultValue": "{\n parameters: {\n controls: {\n matchers: {\n color: /(background|color)$/i,\n date: /Date$/i,\n },\n },\n },\n}" |
222 | 242 | }, |
| 243 | + { |
| 244 | + "name": "Primary", |
| 245 | + "ctype": "miscellaneous", |
| 246 | + "subtype": "variable", |
| 247 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 248 | + "deprecated": false, |
| 249 | + "deprecationMessage": "", |
| 250 | + "type": "Story", |
| 251 | + "defaultValue": "{\n args: {},\n}" |
| 252 | + }, |
223 | 253 | { |
224 | 254 | "name": "SecondaryText", |
225 | 255 | "ctype": "miscellaneous", |
|
300 | 330 | } |
301 | 331 | } |
302 | 332 | ] |
| 333 | + }, |
| 334 | + { |
| 335 | + "name": "getElement", |
| 336 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 337 | + "ctype": "miscellaneous", |
| 338 | + "subtype": "function", |
| 339 | + "deprecated": false, |
| 340 | + "deprecationMessage": "", |
| 341 | + "description": "", |
| 342 | + "args": [ |
| 343 | + { |
| 344 | + "name": "canvasElement", |
| 345 | + "type": "HTMLElement", |
| 346 | + "deprecated": false, |
| 347 | + "deprecationMessage": "" |
| 348 | + } |
| 349 | + ], |
| 350 | + "returnType": "HTMLElement", |
| 351 | + "jsdoctags": [ |
| 352 | + { |
| 353 | + "name": "canvasElement", |
| 354 | + "type": "HTMLElement", |
| 355 | + "deprecated": false, |
| 356 | + "deprecationMessage": "", |
| 357 | + "tagName": { |
| 358 | + "text": "param" |
| 359 | + } |
| 360 | + } |
| 361 | + ] |
303 | 362 | } |
304 | 363 | ], |
305 | 364 | "typealiases": [ |
|
346 | 405 | "deprecationMessage": "", |
347 | 406 | "description": "", |
348 | 407 | "kind": 183 |
| 408 | + }, |
| 409 | + { |
| 410 | + "name": "Story", |
| 411 | + "ctype": "miscellaneous", |
| 412 | + "subtype": "typealias", |
| 413 | + "rawtype": "StoryObj<ButtonsComponent>", |
| 414 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 415 | + "deprecated": false, |
| 416 | + "deprecationMessage": "", |
| 417 | + "description": "", |
| 418 | + "kind": 183 |
349 | 419 | } |
350 | 420 | ], |
351 | 421 | "enumerations": [], |
|
369 | 439 | "deprecated": false, |
370 | 440 | "deprecationMessage": "", |
371 | 441 | "type": "Story", |
372 | | - "defaultValue": "{\n render: () => ({\n template: `\n <p class=\"text-primary\">This is a paragraph of body text.</p>\n `,\n }),\n}" |
| 442 | + "defaultValue": "{\n render: () => ({\n template: `\n <p class=\"text-default\">This is a paragraph of body text.</p>\n `,\n }),\n}" |
373 | 443 | }, |
374 | 444 | { |
375 | 445 | "name": "LinkText", |
|
534 | 604 | "defaultValue": "{\n render: () => ({\n template: `\n <small>This is small text, also known as body2 in Figma. It uses Open Sans, sans-serif font with a size of 0.875rem (14px).</small>\n `,\n }),\n}" |
535 | 605 | } |
536 | 606 | ], |
| 607 | + "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts": [ |
| 608 | + { |
| 609 | + "name": "Disabled", |
| 610 | + "ctype": "miscellaneous", |
| 611 | + "subtype": "variable", |
| 612 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 613 | + "deprecated": false, |
| 614 | + "deprecationMessage": "", |
| 615 | + "type": "Story", |
| 616 | + "defaultValue": "{\n args: {\n disabled: true,\n },\n render: (args) => ({\n template: `\n <lfx-buttons type=\"primary\" [disabled]=\"true\">\n <i class=\"fa-sharp fa-light fa-file-chart-column\"></i>\n <span>Button Text</span>\n <i class=\"fa-sharp fa-light fa-arrow-right\"></i>\n </lfx-buttons>\n `,\n }),\n parameters: {\n design: {\n type: 'figspec',\n url: 'https://www.figma.com/file/nj8rOxBtzQCa7KrvBxF4aF/Coherence-Design-System?node-id=772-5198&t=zfHib1d5XSXabYJp-4',\n },\n },\n play: async ({ canvasElement }) => {\n const element = getElement(canvasElement);\n await expect(element.querySelector('button')?.disabled).toBeTruthy();\n },\n}" |
| 617 | + }, |
| 618 | + { |
| 619 | + "name": "meta", |
| 620 | + "ctype": "miscellaneous", |
| 621 | + "subtype": "variable", |
| 622 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 623 | + "deprecated": false, |
| 624 | + "deprecationMessage": "", |
| 625 | + "type": "Meta<ButtonsComponent>", |
| 626 | + "defaultValue": "{\n title: 'LFX Components/Controls/Buttons',\n component: ButtonsComponent,\n tags: ['autodocs'],\n render: (args) => ({\n template: `\n <lfx-buttons type=\"primary\">\n <i class=\"fa-sharp fa-light fa-file-chart-column\"></i>\n <span>Button Text</span>\n <i class=\"fa-sharp fa-light fa-arrow-right\"></i>\n </lfx-buttons>\n `,\n }),\n}" |
| 627 | + }, |
| 628 | + { |
| 629 | + "name": "Primary", |
| 630 | + "ctype": "miscellaneous", |
| 631 | + "subtype": "variable", |
| 632 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 633 | + "deprecated": false, |
| 634 | + "deprecationMessage": "", |
| 635 | + "type": "Story", |
| 636 | + "defaultValue": "{\n args: {},\n}" |
| 637 | + } |
| 638 | + ], |
537 | 639 | "projects/lfx-component-lib/src/lib/containers/toast/__docs__/toast.stories.ts": [ |
538 | 640 | { |
539 | 641 | "name": "Error", |
|
652 | 754 | } |
653 | 755 | ] |
654 | 756 | } |
| 757 | + ], |
| 758 | + "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts": [ |
| 759 | + { |
| 760 | + "name": "getElement", |
| 761 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 762 | + "ctype": "miscellaneous", |
| 763 | + "subtype": "function", |
| 764 | + "deprecated": false, |
| 765 | + "deprecationMessage": "", |
| 766 | + "description": "", |
| 767 | + "args": [ |
| 768 | + { |
| 769 | + "name": "canvasElement", |
| 770 | + "type": "HTMLElement", |
| 771 | + "deprecated": false, |
| 772 | + "deprecationMessage": "" |
| 773 | + } |
| 774 | + ], |
| 775 | + "returnType": "HTMLElement", |
| 776 | + "jsdoctags": [ |
| 777 | + { |
| 778 | + "name": "canvasElement", |
| 779 | + "type": "HTMLElement", |
| 780 | + "deprecated": false, |
| 781 | + "deprecationMessage": "", |
| 782 | + "tagName": { |
| 783 | + "text": "param" |
| 784 | + } |
| 785 | + } |
| 786 | + ] |
| 787 | + } |
655 | 788 | ] |
656 | 789 | }, |
657 | 790 | "groupedEnumerations": {}, |
|
707 | 840 | "description": "", |
708 | 841 | "kind": 183 |
709 | 842 | } |
| 843 | + ], |
| 844 | + "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts": [ |
| 845 | + { |
| 846 | + "name": "Story", |
| 847 | + "ctype": "miscellaneous", |
| 848 | + "subtype": "typealias", |
| 849 | + "rawtype": "StoryObj<ButtonsComponent>", |
| 850 | + "file": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 851 | + "deprecated": false, |
| 852 | + "deprecationMessage": "", |
| 853 | + "description": "", |
| 854 | + "kind": 183 |
| 855 | + } |
710 | 856 | ] |
711 | 857 | } |
712 | 858 | }, |
|
805 | 951 | "coverageCount": "0/1", |
806 | 952 | "status": "low" |
807 | 953 | }, |
| 954 | + { |
| 955 | + "filePath": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 956 | + "type": "function", |
| 957 | + "linktype": "miscellaneous", |
| 958 | + "linksubtype": "function", |
| 959 | + "name": "getElement", |
| 960 | + "coveragePercent": 0, |
| 961 | + "coverageCount": "0/1", |
| 962 | + "status": "low" |
| 963 | + }, |
| 964 | + { |
| 965 | + "filePath": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 966 | + "type": "variable", |
| 967 | + "linktype": "miscellaneous", |
| 968 | + "linksubtype": "variable", |
| 969 | + "name": "Disabled", |
| 970 | + "coveragePercent": 0, |
| 971 | + "coverageCount": "0/1", |
| 972 | + "status": "low" |
| 973 | + }, |
| 974 | + { |
| 975 | + "filePath": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 976 | + "type": "variable", |
| 977 | + "linktype": "miscellaneous", |
| 978 | + "linksubtype": "variable", |
| 979 | + "name": "meta", |
| 980 | + "coveragePercent": 0, |
| 981 | + "coverageCount": "0/1", |
| 982 | + "status": "low" |
| 983 | + }, |
| 984 | + { |
| 985 | + "filePath": "projects/lfx-component-lib/src/lib/controls/buttons/__docs__/buttons.stories.ts", |
| 986 | + "type": "variable", |
| 987 | + "linktype": "miscellaneous", |
| 988 | + "linksubtype": "variable", |
| 989 | + "name": "Primary", |
| 990 | + "coveragePercent": 0, |
| 991 | + "coverageCount": "0/1", |
| 992 | + "status": "low" |
| 993 | + }, |
808 | 994 | { |
809 | 995 | "filePath": "projects/lfx-component-lib/src/lib/themes/text-colors.stories.ts", |
810 | 996 | "type": "variable", |
|
0 commit comments