@uh-design-system/component-library 0.1.0 → 0.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js +0 -2
  3. package/dist/cjs/ds-accordion_2.cjs.entry.js +930 -0
  4. package/dist/cjs/ds-button_2.cjs.entry.js +196 -0
  5. package/dist/cjs/ds-text-input.cjs.entry.js +137 -0
  6. package/dist/cjs/index-5a88e57b.js +82 -0
  7. package/dist/cjs/{index-eaf5876c.js → index-f7420801.js} +652 -149
  8. package/dist/cjs/index.cjs.js +0 -9
  9. package/dist/cjs/loader.cjs.js +2 -4
  10. package/dist/cjs/uh-component-library.cjs.js +3 -5
  11. package/dist/collection/collection-manifest.json +6 -2
  12. package/dist/collection/components/00-foundations/borders/borders.stories.js +7 -8
  13. package/dist/collection/components/00-foundations/breakpoints/breakpoints.stories.js +20 -0
  14. package/dist/collection/components/00-foundations/colours/colours.stories.js +9 -17
  15. package/dist/collection/components/00-foundations/icons/categories/actions.js +110 -0
  16. package/dist/collection/components/00-foundations/icons/categories/arrows.js +64 -0
  17. package/dist/collection/components/00-foundations/icons/categories/custom.js +10 -0
  18. package/dist/collection/components/00-foundations/icons/categories/information.js +94 -0
  19. package/dist/collection/components/00-foundations/icons/categories/media.js +76 -0
  20. package/dist/collection/components/00-foundations/icons/categories/navigation.js +50 -0
  21. package/dist/collection/components/00-foundations/icons/categories/notifications.js +64 -0
  22. package/dist/collection/components/00-foundations/icons/categories/text.js +18 -0
  23. package/dist/collection/components/00-foundations/icons/categories/users.js +52 -0
  24. package/dist/collection/components/00-foundations/icons/iconList.js +18 -293
  25. package/dist/collection/components/00-foundations/icons/icons.stories.js +0 -1
  26. package/dist/collection/components/00-foundations/spacing/spacing.stories.js +2 -3
  27. package/dist/collection/components/00-foundations/typography/typography.stories.js +52 -3
  28. package/dist/collection/components/01-base-components/ds-accordion/ds-accordion.css +130 -0
  29. package/dist/collection/components/01-base-components/ds-accordion/ds-accordion.js +217 -0
  30. package/dist/collection/components/01-base-components/ds-accordion/stories/ds-accordion.examples.stories.js +43 -0
  31. package/dist/collection/components/01-base-components/ds-accordion/stories/ds-accordion.features.stories.js +79 -0
  32. package/dist/collection/components/01-base-components/ds-accordion/stories/ds-accordion.stories.js +96 -0
  33. package/dist/collection/components/01-base-components/ds-button/ds-button.css +238 -0
  34. package/dist/collection/components/01-base-components/ds-button/ds-button.js +294 -0
  35. package/dist/collection/components/01-base-components/ds-button/stories/ds-button.examples.stories.js +28 -0
  36. package/dist/collection/components/01-base-components/ds-button/stories/ds-button.features.stories.js +77 -0
  37. package/dist/collection/components/01-base-components/ds-button/stories/ds-button.stories.js +79 -0
  38. package/dist/collection/components/01-base-components/ds-icon/ds-icon.css +1 -1
  39. package/dist/collection/components/01-base-components/ds-icon/ds-icon.js +18 -6
  40. package/dist/collection/components/01-base-components/ds-icon/ds-icon.stories.js +1 -2
  41. package/dist/collection/components/01-base-components/ds-text-input/ds-text-input.css +186 -0
  42. package/dist/collection/components/01-base-components/ds-text-input/ds-text-input.examples.stories.js +24 -0
  43. package/dist/collection/components/01-base-components/ds-text-input/ds-text-input.features.stories.js +126 -0
  44. package/dist/collection/components/01-base-components/ds-text-input/ds-text-input.js +665 -0
  45. package/dist/collection/components/01-base-components/ds-text-input/ds-text-input.stories.js +73 -0
  46. package/dist/collection/components/01-base-components/ds-text-input/utils.js +16 -0
  47. package/dist/collection/components/01-base-components/ds-visually-hidden/ds-visually-hidden.css +9 -0
  48. package/dist/collection/components/01-base-components/ds-visually-hidden/ds-visually-hidden.js +18 -0
  49. package/dist/collection/components/01-base-components/ds-visually-hidden/ds-visually-hidden.stories.js +9 -0
  50. package/dist/collection/index.js +1 -11
  51. package/dist/collection/utils/attributes.js +107 -0
  52. package/dist/collection/utils/borders/borderUtils.js +24 -4
  53. package/dist/collection/utils/breakpoints/breakpointsUtils.js +58 -0
  54. package/dist/collection/utils/colours/colourTypes.js +19 -0
  55. package/dist/collection/utils/colours/colourUtils.js +67 -47
  56. package/dist/collection/utils/spacing/spacingUtils.js +21 -9
  57. package/dist/collection/utils/tests/testUtils.js +21 -6
  58. package/dist/collection/utils/typography/typographyUtils.js +0 -1
  59. package/dist/collection/utils/utils.js +48 -3
  60. package/dist/components/ds-accordion.d.ts +11 -0
  61. package/dist/components/ds-accordion.js +96 -0
  62. package/dist/components/ds-button.d.ts +11 -0
  63. package/dist/components/ds-button.js +6 -0
  64. package/dist/components/ds-button2.js +209 -0
  65. package/dist/components/ds-icon.js +1 -540
  66. package/dist/components/ds-icon2.js +890 -0
  67. package/dist/components/ds-text-input.d.ts +11 -0
  68. package/dist/components/ds-text-input.js +200 -0
  69. package/dist/components/ds-visually-hidden.d.ts +11 -0
  70. package/dist/components/ds-visually-hidden.js +6 -0
  71. package/dist/components/ds-visually-hidden2.js +31 -0
  72. package/dist/components/index.js +1 -9
  73. package/dist/components/{p-dcfb6eb2.js → index2.js} +616 -146
  74. package/dist/components/index3.js +80 -0
  75. package/dist/esm/app-globals-0f993ce5.js +0 -2
  76. package/dist/esm/ds-accordion_2.entry.js +925 -0
  77. package/dist/esm/ds-button_2.entry.js +191 -0
  78. package/dist/esm/ds-text-input.entry.js +133 -0
  79. package/dist/esm/index-097075ad.js +80 -0
  80. package/dist/esm/{index-1586ada2.js → index-1d0a6586.js} +652 -150
  81. package/dist/esm/index.js +0 -6
  82. package/dist/esm/loader.js +3 -5
  83. package/dist/esm/uh-component-library.js +4 -6
  84. package/dist/loader/cdn.js +1 -0
  85. package/dist/loader/index.cjs.js +1 -0
  86. package/{loader → dist/loader}/index.d.ts +1 -1
  87. package/dist/loader/index.es2017.js +1 -0
  88. package/{loader → dist/loader}/index.js +1 -1
  89. package/dist/types/components/00-foundations/breakpoints/breakpoints.stories.d.ts +6 -0
  90. package/dist/types/components/00-foundations/colours/colours.stories.d.ts +3 -2
  91. package/dist/types/components/00-foundations/icons/categories/actions.d.ts +5 -0
  92. package/dist/types/components/00-foundations/icons/categories/arrows.d.ts +5 -0
  93. package/dist/types/components/00-foundations/icons/categories/custom.d.ts +5 -0
  94. package/dist/types/components/00-foundations/icons/categories/information.d.ts +5 -0
  95. package/dist/types/components/00-foundations/icons/categories/media.d.ts +5 -0
  96. package/dist/types/components/00-foundations/icons/categories/navigation.d.ts +5 -0
  97. package/dist/types/components/00-foundations/icons/categories/notifications.d.ts +5 -0
  98. package/dist/types/components/00-foundations/icons/categories/text.d.ts +5 -0
  99. package/dist/types/components/00-foundations/icons/categories/users.d.ts +5 -0
  100. package/dist/types/components/00-foundations/typography/typography.stories.d.ts +6 -5
  101. package/dist/types/components/01-base-components/ds-accordion/ds-accordion.d.ts +17 -0
  102. package/dist/types/components/01-base-components/ds-accordion/stories/ds-accordion.examples.stories.d.ts +9 -0
  103. package/dist/types/components/01-base-components/ds-accordion/stories/ds-accordion.features.stories.d.ts +13 -0
  104. package/dist/types/components/01-base-components/ds-accordion/stories/ds-accordion.stories.d.ts +8 -0
  105. package/dist/types/components/01-base-components/ds-button/ds-button.d.ts +33 -0
  106. package/dist/types/components/01-base-components/ds-button/stories/ds-button.examples.stories.d.ts +6 -0
  107. package/dist/types/components/01-base-components/ds-button/stories/ds-button.features.stories.d.ts +17 -0
  108. package/dist/types/components/01-base-components/ds-button/stories/ds-button.stories.d.ts +8 -0
  109. package/dist/types/components/01-base-components/ds-text-input/ds-text-input.d.ts +46 -0
  110. package/dist/types/components/01-base-components/ds-text-input/ds-text-input.examples.stories.d.ts +8 -0
  111. package/dist/types/components/01-base-components/ds-text-input/ds-text-input.features.stories.d.ts +18 -0
  112. package/dist/types/components/01-base-components/ds-text-input/ds-text-input.stories.d.ts +8 -0
  113. package/dist/types/components/01-base-components/ds-text-input/utils.d.ts +3 -0
  114. package/dist/types/components/01-base-components/ds-visually-hidden/ds-visually-hidden.d.ts +3 -0
  115. package/dist/types/components/01-base-components/ds-visually-hidden/ds-visually-hidden.stories.d.ts +7 -0
  116. package/dist/types/components.d.ts +152 -0
  117. package/dist/types/declarations.d.ts +4 -0
  118. package/dist/types/index.d.ts +0 -1
  119. package/dist/types/utils/attributes.d.ts +39 -0
  120. package/dist/types/utils/borders/borderUtils.d.ts +9 -0
  121. package/dist/types/utils/breakpoints/breakpointsUtils.d.ts +11 -0
  122. package/dist/types/utils/colours/colourTypes.d.ts +18 -0
  123. package/dist/types/utils/colours/colourUtils.d.ts +4 -14
  124. package/dist/types/utils/spacing/spacingUtils.d.ts +6 -3
  125. package/dist/types/utils/tests/testUtils.d.ts +2 -0
  126. package/dist/types/utils/utils.d.ts +20 -1
  127. package/dist/uh-component-library/app-globals-0f993ce5.js +1 -0
  128. package/dist/uh-component-library/ds-accordion_2.entry.js +1 -0
  129. package/dist/uh-component-library/ds-button_2.entry.js +1 -0
  130. package/dist/uh-component-library/ds-text-input.entry.js +1 -0
  131. package/dist/uh-component-library/index-097075ad.js +6 -0
  132. package/dist/uh-component-library/index-1d0a6586.js +2 -0
  133. package/dist/uh-component-library/index.esm.js +0 -2
  134. package/dist/uh-component-library/uh-component-library.esm.js +1 -2
  135. package/package.json +8 -15
  136. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  137. package/dist/cjs/ds-icon.cjs.entry.js +0 -522
  138. package/dist/cjs/ds-icon.cjs.entry.js.map +0 -1
  139. package/dist/cjs/index-eaf5876c.js.map +0 -1
  140. package/dist/cjs/index.cjs.js.map +0 -1
  141. package/dist/cjs/loader.cjs.js.map +0 -1
  142. package/dist/cjs/uh-component-library.cjs.js.map +0 -1
  143. package/dist/collection/components/00-foundations/borders/borders.stories.js.map +0 -1
  144. package/dist/collection/components/00-foundations/colours/colours.stories.js.map +0 -1
  145. package/dist/collection/components/00-foundations/icons/iconList.js.map +0 -1
  146. package/dist/collection/components/00-foundations/icons/icons.stories.js.map +0 -1
  147. package/dist/collection/components/00-foundations/spacing/spacing.stories.js.map +0 -1
  148. package/dist/collection/components/00-foundations/typography/headings.stories.js +0 -23
  149. package/dist/collection/components/00-foundations/typography/headings.stories.js.map +0 -1
  150. package/dist/collection/components/00-foundations/typography/text.stories.js +0 -17
  151. package/dist/collection/components/00-foundations/typography/text.stories.js.map +0 -1
  152. package/dist/collection/components/00-foundations/typography/typography.stories.js.map +0 -1
  153. package/dist/collection/components/01-base-components/ds-icon/ds-icon.js.map +0 -1
  154. package/dist/collection/components/01-base-components/ds-icon/ds-icon.stories.js.map +0 -1
  155. package/dist/collection/index.js.map +0 -1
  156. package/dist/collection/utils/borders/borderUtils.js.map +0 -1
  157. package/dist/collection/utils/colours/colourUtils.js.map +0 -1
  158. package/dist/collection/utils/spacing/spacingUtils.js.map +0 -1
  159. package/dist/collection/utils/tests/testUtils.js.map +0 -1
  160. package/dist/collection/utils/typography/typographyUtils.js.map +0 -1
  161. package/dist/collection/utils/utils.js.map +0 -1
  162. package/dist/components/ds-icon.js.map +0 -1
  163. package/dist/components/index.js.map +0 -1
  164. package/dist/components/p-dcfb6eb2.js.map +0 -1
  165. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  166. package/dist/esm/ds-icon.entry.js +0 -518
  167. package/dist/esm/ds-icon.entry.js.map +0 -1
  168. package/dist/esm/index-1586ada2.js.map +0 -1
  169. package/dist/esm/index.js.map +0 -1
  170. package/dist/esm/loader.js.map +0 -1
  171. package/dist/esm/uh-component-library.js.map +0 -1
  172. package/dist/types/components/00-foundations/typography/headings.stories.d.ts +0 -17
  173. package/dist/types/components/00-foundations/typography/text.stories.d.ts +0 -11
  174. package/dist/uh-component-library/index.esm.js.map +0 -1
  175. package/dist/uh-component-library/p-74d73de3.js +0 -3
  176. package/dist/uh-component-library/p-74d73de3.js.map +0 -1
  177. package/dist/uh-component-library/p-c7cd80a5.entry.js +0 -2
  178. package/dist/uh-component-library/p-c7cd80a5.entry.js.map +0 -1
  179. package/dist/uh-component-library/p-e1255160.js +0 -2
  180. package/dist/uh-component-library/p-e1255160.js.map +0 -1
  181. package/dist/uh-component-library/uh-component-library.esm.js.map +0 -1
  182. package/loader/cdn.js +0 -1
  183. package/loader/index.cjs.js +0 -1
  184. package/loader/index.es2017.js +0 -1
  185. /package/{loader → dist/loader}/package.json +0 -0
@@ -0,0 +1,64 @@
1
+ // src/components/00-foundations/icons/categories/notifications.ts
2
+ // Set category name
3
+ const category = 'Notifications and expressions';
4
+ // Import Material Icons
5
+ import FavoriteIcon from "@material-symbols/svg-700/sharp/favorite.svg";
6
+ import FavoriteFillIcon from "@material-symbols/svg-700/sharp/favorite-fill.svg";
7
+ import HelpIcon from "@material-symbols/svg-700/sharp/help.svg";
8
+ import HelpFillIcon from "@material-symbols/svg-700/sharp/help-fill.svg";
9
+ import InfoIcon from "@material-symbols/svg-700/sharp/info.svg";
10
+ import InfoFillIcon from "@material-symbols/svg-700/sharp/info-fill.svg";
11
+ import WarningIcon from "@material-symbols/svg-700/sharp/warning.svg";
12
+ import WarningFillIcon from "@material-symbols/svg-700/sharp/warning-fill.svg";
13
+ import CheckIcon from "@material-symbols/svg-700/sharp/check.svg";
14
+ import CheckCircleIcon from "@material-symbols/svg-700/sharp/check_circle.svg";
15
+ import CheckCircleFillIcon from "@material-symbols/svg-700/sharp/check_circle-fill.svg";
16
+ import NotificationsIcon from "@material-symbols/svg-700/sharp/notifications.svg";
17
+ import NotificationsFillIcon from "@material-symbols/svg-700/sharp/notifications-fill.svg";
18
+ import NotificationsOffIcon from "@material-symbols/svg-700/sharp/notifications_off.svg";
19
+ import NotificationsOffFillIcon from "@material-symbols/svg-700/sharp/notifications_off-fill.svg";
20
+ import NotificationsUnreadIcon from "@material-symbols/svg-700/sharp/notifications_unread.svg";
21
+ import NotificationsUnreadFillIcon from "@material-symbols/svg-700/sharp/notifications_unread-fill.svg";
22
+ import NotificationsActiveIcon from "@material-symbols/svg-700/sharp/notifications_active.svg";
23
+ import NotificationsActiveFillIcon from "@material-symbols/svg-700/sharp/notifications_active-fill.svg";
24
+ import SentimentSatisfiedIcon from "@material-symbols/svg-700/sharp/sentiment_satisfied.svg";
25
+ import SentimentSatisfiedFillIcon from "@material-symbols/svg-700/sharp/sentiment_satisfied-fill.svg";
26
+ import SentimentNeutralIcon from "@material-symbols/svg-700/sharp/sentiment_neutral.svg";
27
+ import SentimentNeutralFillIcon from "@material-symbols/svg-700/sharp/sentiment_neutral-fill.svg";
28
+ import SentimentDissatisfiedIcon from "@material-symbols/svg-700/sharp/sentiment_dissatisfied.svg";
29
+ import SentimentDissatisfiedFillIcon from "@material-symbols/svg-700/sharp/sentiment_dissatisfied-fill.svg";
30
+ import SmartToyIcon from "@material-symbols/svg-700/sharp/smart_toy.svg";
31
+ import SmartToyFillIcon from "@material-symbols/svg-700/sharp/smart_toy-fill.svg";
32
+ import StarIcon from "@material-symbols/svg-700/sharp/star.svg";
33
+ import StarFillIcon from "@material-symbols/svg-700/sharp/star-fill.svg";
34
+ export const icons = [
35
+ { name: 'favorite', component: FavoriteIcon, category: category },
36
+ { name: 'favorite_fill', component: FavoriteFillIcon, category: category },
37
+ { name: 'help', component: HelpIcon, category: category },
38
+ { name: 'help_fill', component: HelpFillIcon, category: category },
39
+ { name: 'info', component: InfoIcon, category: category },
40
+ { name: 'info_fill', component: InfoFillIcon, category: category },
41
+ { name: 'warning', component: WarningIcon, category: category },
42
+ { name: 'warning_fill', component: WarningFillIcon, category: category },
43
+ { name: 'check', component: CheckIcon, category: category },
44
+ { name: 'check_circle', component: CheckCircleIcon, category: category },
45
+ { name: 'check_circle_fill', component: CheckCircleFillIcon, category: category },
46
+ { name: 'notifications', component: NotificationsIcon, category: category },
47
+ { name: 'notifications_fill', component: NotificationsFillIcon, category: category },
48
+ { name: 'notifications_off', component: NotificationsOffIcon, category: category },
49
+ { name: 'notifications_off_fill', component: NotificationsOffFillIcon, category: category },
50
+ { name: 'notifications_unread', component: NotificationsUnreadIcon, category: category },
51
+ { name: 'notifications_unread_fill', component: NotificationsUnreadFillIcon, category: category },
52
+ { name: 'notifications_active', component: NotificationsActiveIcon, category: category },
53
+ { name: 'notifications_active_fill', component: NotificationsActiveFillIcon, category: category },
54
+ { name: 'sentiment_satisfied', component: SentimentSatisfiedIcon, category: category },
55
+ { name: 'sentiment_satisfied_fill', component: SentimentSatisfiedFillIcon, category: category },
56
+ { name: 'sentiment_neutral', component: SentimentNeutralIcon, category: category },
57
+ { name: 'sentiment_neutral_fill', component: SentimentNeutralFillIcon, category: category },
58
+ { name: 'sentiment_dissatisfied', component: SentimentDissatisfiedIcon, category: category },
59
+ { name: 'sentiment_dissatisfied_fill', component: SentimentDissatisfiedFillIcon, category: category },
60
+ { name: 'smart_toy', component: SmartToyIcon, category: category },
61
+ { name: 'smart_toy_fill', component: SmartToyFillIcon, category: category },
62
+ { name: 'star', component: StarIcon, category: category },
63
+ { name: 'star_fill', component: StarFillIcon, category: category },
64
+ ];
@@ -0,0 +1,18 @@
1
+ // src/components/00-foundations/icons/categories/text.ts
2
+ // Set category name
3
+ const category = 'Text formatting';
4
+ // Import Material Icons
5
+ import FormatQuoteIcon from "@material-symbols/svg-700/sharp/format_quote.svg";
6
+ import FormatQuoteFillIcon from "@material-symbols/svg-700/sharp/format_quote-fill.svg";
7
+ import FormatQuoteOffIcon from "@material-symbols/svg-700/sharp/format_quote_off.svg";
8
+ import FormatQuoteOffFillIcon from "@material-symbols/svg-700/sharp/format_quote_off-fill.svg";
9
+ import FormatItalicIcon from "@material-symbols/svg-700/sharp/format_italic.svg";
10
+ import FormatBoldIcon from "@material-symbols/svg-700/sharp/format_bold.svg";
11
+ export const icons = [
12
+ { name: 'format_quote', component: FormatQuoteIcon, category: category },
13
+ { name: 'format_quote_fill', component: FormatQuoteFillIcon, category: category },
14
+ { name: 'format_quote_off', component: FormatQuoteOffIcon, category: category },
15
+ { name: 'format_quote_off_fill', component: FormatQuoteOffFillIcon, category: category },
16
+ { name: 'format_italic', component: FormatItalicIcon, category: category },
17
+ { name: 'format_bold', component: FormatBoldIcon, category: category },
18
+ ];
@@ -0,0 +1,52 @@
1
+ // src/components/00-foundations/icons/categories/users.ts
2
+ // Set category name
3
+ const category = 'Users and avatars';
4
+ // Import Material Icons
5
+ import AccountCircleIcon from "@material-symbols/svg-700/sharp/account_circle.svg";
6
+ import AccountCircleFillIcon from "@material-symbols/svg-700/sharp/account_circle-fill.svg";
7
+ import PersonIcon from "@material-symbols/svg-700/sharp/person.svg";
8
+ import PersonFillIcon from "@material-symbols/svg-700/sharp/person-fill.svg";
9
+ import PersonAddIcon from "@material-symbols/svg-700/sharp/person_add.svg";
10
+ import PersonAddFillIcon from "@material-symbols/svg-700/sharp/person_add-fill.svg";
11
+ import PersonRemoveIcon from "@material-symbols/svg-700/sharp/person_remove.svg";
12
+ import PersonRemoveFillIcon from "@material-symbols/svg-700/sharp/person_remove-fill.svg";
13
+ import PersonAlertIcon from "@material-symbols/svg-700/sharp/person_alert.svg";
14
+ import PersonAlertFillIcon from "@material-symbols/svg-700/sharp/person_alert-fill.svg";
15
+ import GroupIcon from "@material-symbols/svg-700/sharp/group.svg";
16
+ import GroupFillIcon from "@material-symbols/svg-700/sharp/group-fill.svg";
17
+ import GroupAddIcon from "@material-symbols/svg-700/sharp/group_add.svg";
18
+ import GroupAddFillIcon from "@material-symbols/svg-700/sharp/group_add-fill.svg";
19
+ import GroupRemoveIcon from "@material-symbols/svg-700/sharp/group_remove.svg";
20
+ import GroupRemoveFillIcon from "@material-symbols/svg-700/sharp/group_remove-fill.svg";
21
+ import SupervisorAccountIcon from "@material-symbols/svg-700/sharp/supervisor_account.svg";
22
+ import SupervisorAccountFillIcon from "@material-symbols/svg-700/sharp/supervisor_account-fill.svg";
23
+ import EscalatorWarningIcon from "@material-symbols/svg-700/sharp/escalator_warning.svg";
24
+ import BoyIcon from "@material-symbols/svg-700/sharp/boy.svg";
25
+ import GirlIcon from "@material-symbols/svg-700/sharp/girl.svg";
26
+ import BadgeIcon from "@material-symbols/svg-700/sharp/badge.svg";
27
+ import BadgeFillIcon from "@material-symbols/svg-700/sharp/badge-fill.svg";
28
+ export const icons = [
29
+ { name: 'account_circle', component: AccountCircleIcon, category: category },
30
+ { name: 'account_circle_fill', component: AccountCircleFillIcon, category: category },
31
+ { name: 'person', component: PersonIcon, category: category },
32
+ { name: 'person_fill', component: PersonFillIcon, category: category },
33
+ { name: 'person_add', component: PersonAddIcon, category: category },
34
+ { name: 'person_add_fill', component: PersonAddFillIcon, category: category },
35
+ { name: 'person_remove', component: PersonRemoveIcon, category: category },
36
+ { name: 'person_remove_fill', component: PersonRemoveFillIcon, category: category },
37
+ { name: 'person_alert', component: PersonAlertIcon, category: category },
38
+ { name: 'person_alert_fill', component: PersonAlertFillIcon, category: category },
39
+ { name: 'group', component: GroupIcon, category: category },
40
+ { name: 'group_fill', component: GroupFillIcon, category: category },
41
+ { name: 'group_add', component: GroupAddIcon, category: category },
42
+ { name: 'group_add_fill', component: GroupAddFillIcon, category: category },
43
+ { name: 'group_remove', component: GroupRemoveIcon, category: category },
44
+ { name: 'group_remove_fill', component: GroupRemoveFillIcon, category: category },
45
+ { name: 'supervisor_account', component: SupervisorAccountIcon, category: category },
46
+ { name: 'supervisor_account_fill', component: SupervisorAccountFillIcon, category: category },
47
+ { name: 'escalator_warning', component: EscalatorWarningIcon, category: category },
48
+ { name: 'boy', component: BoyIcon, category: category },
49
+ { name: 'girl', component: GirlIcon, category: category },
50
+ { name: 'badge', component: BadgeIcon, category: category },
51
+ { name: 'badge_fill', component: BadgeFillIcon, category: category },
52
+ ];
@@ -1,296 +1,21 @@
1
1
  // src/components/00-foundations/icons/iconList.ts
2
- // Import custom icons
3
- import DSFlameIcon from "../../../../custom-icons/ds-flame.svg";
4
- import DSFlameFillIcon from "../../../../custom-icons/ds-flame-fill.svg";
5
- // Import Material Icons
6
- import ArchiveIcon from "@material-symbols/svg-500/sharp/archive.svg";
7
- import ArchiveFillIcon from "@material-symbols/svg-500/sharp/archive-fill.svg";
8
- import DownloadIcon from "@material-symbols/svg-500/sharp/download.svg";
9
- import FileSaveIcon from "@material-symbols/svg-500/sharp/file_save.svg";
10
- import FileSaveFillIcon from "@material-symbols/svg-500/sharp/file_save-fill.svg";
11
- import SendIcon from "@material-symbols/svg-500/sharp/send.svg";
12
- import SendFillIcon from "@material-symbols/svg-500/sharp/send-fill.svg";
13
- import ListAltIcon from "@material-symbols/svg-500/sharp/list_alt.svg";
14
- import ListAltAddIcon from "@material-symbols/svg-500/sharp/list_alt_add.svg";
15
- import ListAltCheckIcon from "@material-symbols/svg-500/sharp/list_alt_check.svg";
16
- import ForkRightIcon from "@material-symbols/svg-500/sharp/fork_right.svg";
17
- import ManufacturingIcon from "@material-symbols/svg-500/sharp/manufacturing.svg";
18
- import DragIndicatorIcon from "@material-symbols/svg-500/sharp/drag_indicator.svg";
19
- import ResizeIcon from "@material-symbols/svg-500/sharp/resize.svg";
20
- import EditIcon from "@material-symbols/svg-500/sharp/edit.svg";
21
- import EditFillIcon from "@material-symbols/svg-500/sharp/edit-fill.svg";
22
- import CodeBlocksIcon from "@material-symbols/svg-500/sharp/code_blocks.svg";
23
- import VisibilityIcon from "@material-symbols/svg-500/sharp/visibility.svg";
24
- import VisibilityFillIcon from "@material-symbols/svg-500/sharp/visibility-fill.svg";
25
- import VisibilityOffIcon from "@material-symbols/svg-500/sharp/visibility_off.svg";
26
- import VisibilityOffFillIcon from "@material-symbols/svg-500/sharp/visibility_off-fill.svg";
27
- import CloseIcon from "@material-symbols/svg-500/sharp/close.svg";
28
- import CancelIcon from "@material-symbols/svg-500/sharp/cancel.svg";
29
- import CancelFillIcon from "@material-symbols/svg-500/sharp/cancel-fill.svg";
30
- import AttachFileIcon from "@material-symbols/svg-500/sharp/attach_file.svg";
31
- import AttachFileAddIcon from "@material-symbols/svg-500/sharp/attach_file_add.svg";
32
- import AttachFileOffIcon from "@material-symbols/svg-500/sharp/attach_file_off.svg";
33
- import AttachEmailIcon from "@material-symbols/svg-500/sharp/attach_email.svg";
34
- import AttachEmailFillIcon from "@material-symbols/svg-500/sharp/attach_email-fill.svg";
35
- import ZoomInIcon from "@material-symbols/svg-500/sharp/zoom_in.svg";
36
- import ZoomOutIcon from "@material-symbols/svg-500/sharp/zoom_out.svg";
37
- import SearchIcon from "@material-symbols/svg-500/sharp/search.svg";
38
- import ArrowBackIcon from "@material-symbols/svg-500/sharp/arrow_back.svg";
39
- import ArrowForwardIcon from "@material-symbols/svg-500/sharp/arrow_forward.svg";
40
- import ArrowUpwardIcon from "@material-symbols/svg-500/sharp/arrow_upward.svg";
41
- import ArrowDownwardIcon from "@material-symbols/svg-500/sharp/arrow_downward.svg";
42
- import ArrowInsertIcon from "@material-symbols/svg-500/sharp/arrow_insert.svg";
43
- import ArrowOutwardIcon from "@material-symbols/svg-500/sharp/arrow_outward.svg";
44
- import ChevronBackwardIcon from "@material-symbols/svg-500/sharp/chevron_backward.svg";
45
- import ChevronForwardIcon from "@material-symbols/svg-500/sharp/chevron_forward.svg";
46
- import KeyboardArrowUpIcon from "@material-symbols/svg-500/sharp/keyboard_arrow_up.svg";
47
- import KeyboardArrowDownIcon from "@material-symbols/svg-500/sharp/keyboard_arrow_down.svg";
48
- import ArrowDropDownCircleIcon from "@material-symbols/svg-500/sharp/arrow_drop_down_circle.svg";
49
- import ArrowDropDownFillIcon from "@material-symbols/svg-500/sharp/arrow_drop_down-fill.svg";
50
- import UnfoldLessIcon from "@material-symbols/svg-500/sharp/unfold_less.svg";
51
- import UnfoldMoreIcon from "@material-symbols/svg-500/sharp/unfold_more.svg";
52
- import CollapseContentIcon from "@material-symbols/svg-500/sharp/collapse_content.svg";
53
- import ExpandContentIcon from "@material-symbols/svg-500/sharp/expand_content.svg";
54
- import ZoomOutMapIcon from "@material-symbols/svg-500/sharp/zoom_out_map.svg";
55
- import ZoomInMapIcon from "@material-symbols/svg-500/sharp/zoom_in_map.svg";
56
- import AddIcon from "@material-symbols/svg-500/sharp/add.svg";
57
- import CloseSmallIcon from "@material-symbols/svg-500/sharp/close_small.svg";
58
- import RemoveIcon from "@material-symbols/svg-500/sharp/remove.svg";
59
- import EqualIcon from "@material-symbols/svg-500/sharp/equal.svg";
60
- import FunctionIcon from "@material-symbols/svg-500/sharp/function.svg";
61
- import FunctionsIcon from "@material-symbols/svg-500/sharp/functions.svg";
62
- import PercentIcon from "@material-symbols/svg-500/sharp/percent.svg";
63
- import CalculateIcon from "@material-symbols/svg-500/sharp/calculate.svg";
64
- import CalculateFillIcon from "@material-symbols/svg-500/sharp/calculate-fill.svg";
65
- import CalendarMonthIcon from "@material-symbols/svg-500/sharp/calendar_month.svg";
66
- import CalendarMonthFillIcon from "@material-symbols/svg-500/sharp/calendar_month-fill.svg";
67
- import EventAvailableIcon from "@material-symbols/svg-500/sharp/event_available.svg";
68
- import EventAvailableFillIcon from "@material-symbols/svg-500/sharp/event_available-fill.svg";
69
- import EditCalendarIcon from "@material-symbols/svg-500/sharp/edit_calendar.svg";
70
- import EditCalendarFillIcon from "@material-symbols/svg-500/sharp/edit_calendar-fill.svg";
71
- import PersonPinCircleIcon from "@material-symbols/svg-500/sharp/person_pin_circle.svg";
72
- import PersonPinCircleFillIcon from "@material-symbols/svg-500/sharp/person_pin_circle-fill.svg";
73
- import EuroSymbolIcon from "@material-symbols/svg-500/sharp/euro_symbol.svg";
74
- import LanguageIcon from "@material-symbols/svg-500/sharp/language.svg";
75
- import Grid4x4Icon from "@material-symbols/svg-500/sharp/grid_4x4.svg";
76
- import SellIcon from "@material-symbols/svg-500/sharp/sell.svg";
77
- import SellFillIcon from "@material-symbols/svg-500/sharp/sell-fill.svg";
78
- import HomeIcon from "@material-symbols/svg-500/sharp/home.svg";
79
- import HomeFillIcon from "@material-symbols/svg-500/sharp/home-fill.svg";
80
- import MenuIcon from "@material-symbols/svg-500/sharp/menu.svg";
81
- import LinkIcon from "@material-symbols/svg-500/sharp/link.svg";
82
- import LocationSearchingIcon from "@material-symbols/svg-500/sharp/location_searching.svg";
83
- import MyLocationIcon from "@material-symbols/svg-500/sharp/my_location.svg";
84
- import MyLocationFillIcon from "@material-symbols/svg-500/sharp/my_location-fill.svg";
85
- import LocationOnIcon from "@material-symbols/svg-500/sharp/location_on.svg";
86
- import LocationOnFillIcon from "@material-symbols/svg-500/sharp/location_on-fill.svg";
87
- import ExploreIcon from "@material-symbols/svg-500/sharp/explore.svg";
88
- import ExploreFillIcon from "@material-symbols/svg-500/sharp/explore-fill.svg";
89
- import FavoriteIcon from "@material-symbols/svg-500/sharp/favorite.svg";
90
- import FavoriteFillIcon from "@material-symbols/svg-500/sharp/favorite-fill.svg";
91
- import HelpIcon from "@material-symbols/svg-500/sharp/help.svg";
92
- import HelpFillIcon from "@material-symbols/svg-500/sharp/help-fill.svg";
93
- import InfoIcon from "@material-symbols/svg-500/sharp/info.svg";
94
- import InfoFillIcon from "@material-symbols/svg-500/sharp/info-fill.svg";
95
- import WarningIcon from "@material-symbols/svg-500/sharp/warning.svg";
96
- import WarningFillIcon from "@material-symbols/svg-500/sharp/warning-fill.svg";
97
- import CheckIcon from "@material-symbols/svg-500/sharp/check.svg";
98
- import CheckCircleIcon from "@material-symbols/svg-500/sharp/check_circle.svg";
99
- import CheckCircleFillIcon from "@material-symbols/svg-500/sharp/check_circle-fill.svg";
100
- import NotificationsIcon from "@material-symbols/svg-500/sharp/notifications.svg";
101
- import NotificationsFillIcon from "@material-symbols/svg-500/sharp/notifications-fill.svg";
102
- import NotificationsOffIcon from "@material-symbols/svg-500/sharp/notifications_off.svg";
103
- import NotificationsOffFillIcon from "@material-symbols/svg-500/sharp/notifications_off-fill.svg";
104
- import NotificationsUnreadIcon from "@material-symbols/svg-500/sharp/notifications_unread.svg";
105
- import NotificationsUnreadFillIcon from "@material-symbols/svg-500/sharp/notifications_unread-fill.svg";
106
- import NotificationsActiveIcon from "@material-symbols/svg-500/sharp/notifications_active.svg";
107
- import NotificationsActiveFillIcon from "@material-symbols/svg-500/sharp/notifications_active-fill.svg";
108
- import SentimentSatisfiedIcon from "@material-symbols/svg-500/sharp/sentiment_satisfied.svg";
109
- import SentimentSatisfiedFillIcon from "@material-symbols/svg-500/sharp/sentiment_satisfied-fill.svg";
110
- import SentimentNeutralIcon from "@material-symbols/svg-500/sharp/sentiment_neutral.svg";
111
- import SentimentNeutralFillIcon from "@material-symbols/svg-500/sharp/sentiment_neutral-fill.svg";
112
- import SentimentDissatisfiedIcon from "@material-symbols/svg-500/sharp/sentiment_dissatisfied.svg";
113
- import SentimentDissatisfiedFillIcon from "@material-symbols/svg-500/sharp/sentiment_dissatisfied-fill.svg";
114
- import SmartToyIcon from "@material-symbols/svg-500/sharp/smart_toy.svg";
115
- import SmartToyFillIcon from "@material-symbols/svg-500/sharp/smart_toy-fill.svg";
116
- import StarIcon from "@material-symbols/svg-500/sharp/star.svg";
117
- import StarFillIcon from "@material-symbols/svg-500/sharp/star-fill.svg";
118
- import PhotoCameraIcon from "@material-symbols/svg-500/sharp/photo_camera.svg";
119
- import PhotoCameraFillIcon from "@material-symbols/svg-500/sharp/photo_camera-fill.svg";
120
- import ChatIcon from "@material-symbols/svg-500/sharp/chat.svg";
121
- import ChatFillIcon from "@material-symbols/svg-500/sharp/chat-fill.svg";
122
- import RSSFeedIcon from "@material-symbols/svg-500/sharp/rss_feed.svg";
123
- import DescriptionIcon from "@material-symbols/svg-500/sharp/description.svg";
124
- import ImageIcon from "@material-symbols/svg-500/sharp/image.svg";
125
- import ImageFillIcon from "@material-symbols/svg-500/sharp/image-fill.svg";
126
- import GalleryThumbnailIcon from "@material-symbols/svg-500/sharp/gallery_thumbnail.svg";
127
- import PhotoLibraryIcon from "@material-symbols/svg-500/sharp/photo_library.svg";
128
- import FiberManualRecordIcon from "@material-symbols/svg-500/sharp/fiber_manual_record.svg";
129
- import FiberManualRecordFillIcon from "@material-symbols/svg-500/sharp/fiber_manual_record-fill.svg";
130
- import PauseIcon from "@material-symbols/svg-500/sharp/pause.svg";
131
- import PauseFillIcon from "@material-symbols/svg-500/sharp/pause-fill.svg";
132
- import PauseCircleIcon from "@material-symbols/svg-500/sharp/pause_circle.svg";
133
- import PauseCircleFillIcon from "@material-symbols/svg-500/sharp/pause_circle-fill.svg";
134
- import StopCircleIcon from "@material-symbols/svg-500/sharp/stop_circle.svg";
135
- import StopCircleFillIcon from "@material-symbols/svg-500/sharp/stop_circle-fill.svg";
136
- import StopIcon from "@material-symbols/svg-500/sharp/stop.svg";
137
- import StopFillIcon from "@material-symbols/svg-500/sharp/stop-fill.svg";
138
- import PlayPauseIcon from "@material-symbols/svg-500/sharp/play_pause.svg";
139
- import PlayArrowIcon from "@material-symbols/svg-500/sharp/play_arrow.svg";
140
- import PlayArrowFillIcon from "@material-symbols/svg-500/sharp/play_arrow-fill.svg";
141
- import SkipPreviousIcon from "@material-symbols/svg-500/sharp/skip_previous.svg";
142
- import SkipPreviousFillIcon from "@material-symbols/svg-500/sharp/skip_previous-fill.svg";
143
- import SkipNextIcon from "@material-symbols/svg-500/sharp/skip_next.svg";
144
- import SkipNextFillIcon from "@material-symbols/svg-500/sharp/skip_next-fill.svg";
145
- import FastRewindIcon from "@material-symbols/svg-500/sharp/fast_rewind.svg";
146
- import FastRewindFillIcon from "@material-symbols/svg-500/sharp/fast_rewind-fill.svg";
147
- import FastForwardIcon from "@material-symbols/svg-500/sharp/fast_forward.svg";
148
- import FastForwardFillIcon from "@material-symbols/svg-500/sharp/fast_forward-fill.svg";
2
+ import { icons as customIcons } from "./categories/custom";
3
+ import { icons as actionIcons } from "./categories/actions";
4
+ import { icons as arrowIcons } from "./categories/arrows";
5
+ import { icons as informationIcons } from "./categories/information";
6
+ import { icons as navigationIcons } from "./categories/navigation";
7
+ import { icons as notificationIcons } from "./categories/notifications";
8
+ import { icons as mediaIcons } from "./categories/media";
9
+ import { icons as textIcons } from "./categories/text";
10
+ import { icons as userIcons } from "./categories/users";
149
11
  export const icons = [
150
- { name: 'ds_flame', component: DSFlameIcon, category: 'DS Custom icons' },
151
- { name: 'ds_flame_fill', component: DSFlameFillIcon, category: 'DS Custom icons' },
152
- { name: 'archive', component: ArchiveIcon, category: 'Actions' },
153
- { name: 'archive_fill', component: ArchiveFillIcon, category: 'Actions' },
154
- { name: 'download', component: DownloadIcon, category: 'Actions' },
155
- { name: 'file_save', component: FileSaveIcon, category: 'Actions' },
156
- { name: 'file_save_fill', component: FileSaveFillIcon, category: 'Actions' },
157
- { name: 'send', component: SendIcon, category: 'Actions' },
158
- { name: 'send_fill', component: SendFillIcon, category: 'Actions' },
159
- { name: 'list_alt', component: ListAltIcon, category: 'Actions' },
160
- { name: 'list_alt_add', component: ListAltAddIcon, category: 'Actions' },
161
- { name: 'list_alt_check', component: ListAltCheckIcon, category: 'Actions' },
162
- { name: 'fork_right', component: ForkRightIcon, category: 'Actions' },
163
- { name: 'manufacturing', component: ManufacturingIcon, category: 'Actions' },
164
- { name: 'drag_indicator', component: DragIndicatorIcon, category: 'Actions' },
165
- { name: 'resize', component: ResizeIcon, category: 'Actions' },
166
- { name: 'edit', component: EditIcon, category: 'Actions' },
167
- { name: 'edit_fill', component: EditFillIcon, category: 'Actions' },
168
- { name: 'code_blocks', component: CodeBlocksIcon, category: 'Actions' },
169
- { name: 'visibility', component: VisibilityIcon, category: 'Actions' },
170
- { name: 'visibility_fill', component: VisibilityFillIcon, category: 'Actions' },
171
- { name: 'visibility_off', component: VisibilityOffIcon, category: 'Actions' },
172
- { name: 'visibility_off_fill', component: VisibilityOffFillIcon, category: 'Actions' },
173
- { name: 'close', component: CloseIcon, category: 'Actions' },
174
- { name: 'cancel', component: CancelIcon, category: 'Actions' },
175
- { name: 'cancel_fill', component: CancelFillIcon, category: 'Actions' },
176
- { name: 'attach_file', component: AttachFileIcon, category: 'Actions' },
177
- { name: 'attach_file_add', component: AttachFileAddIcon, category: 'Actions' },
178
- { name: 'attach_file_off', component: AttachFileOffIcon, category: 'Actions' },
179
- { name: 'attach_email', component: AttachEmailIcon, category: 'Actions' },
180
- { name: 'attach_email_fill', component: AttachEmailFillIcon, category: 'Actions' },
181
- { name: 'zoom_in', component: ZoomInIcon, category: 'Actions' },
182
- { name: 'zoom_out', component: ZoomOutIcon, category: 'Actions' },
183
- { name: 'search', component: SearchIcon, category: 'Actions' },
184
- { name: 'arrow_back', component: ArrowBackIcon, category: 'Arrows and operators' },
185
- { name: 'arrow_forward', component: ArrowForwardIcon, category: 'Arrows and operators' },
186
- { name: 'arrow_upward', component: ArrowUpwardIcon, category: 'Arrows and operators' },
187
- { name: 'arrow_downward', component: ArrowDownwardIcon, category: 'Arrows and operators' },
188
- { name: 'arrow_insert', component: ArrowInsertIcon, category: 'Arrows and operators' },
189
- { name: 'arrow_outward', component: ArrowOutwardIcon, category: 'Arrows and operators' },
190
- { name: 'chevron_backward', component: ChevronBackwardIcon, category: 'Arrows and operators' },
191
- { name: 'chevron_forward', component: ChevronForwardIcon, category: 'Arrows and operators' },
192
- { name: 'keyboard_arrow_up', component: KeyboardArrowUpIcon, category: 'Arrows and operators' },
193
- { name: 'keyboard_arrow_down', component: KeyboardArrowDownIcon, category: 'Arrows and operators' },
194
- { name: 'arrow_drop_down_circle', component: ArrowDropDownCircleIcon, category: 'Arrows and operators' },
195
- { name: 'arrow_drop_down_fill', component: ArrowDropDownFillIcon, category: 'Arrows and operators' },
196
- { name: 'unfold_less', component: UnfoldLessIcon, category: 'Arrows and operators' },
197
- { name: 'unfold_more', component: UnfoldMoreIcon, category: 'Arrows and operators' },
198
- { name: 'collapse_content', component: CollapseContentIcon, category: 'Arrows and operators' },
199
- { name: 'expand_content', component: ExpandContentIcon, category: 'Arrows and operators' },
200
- { name: 'zoom_out_map', component: ZoomOutMapIcon, category: 'Arrows and operators' },
201
- { name: 'zoom_in_map', component: ZoomInMapIcon, category: 'Arrows and operators' },
202
- { name: 'add', component: AddIcon, category: 'Arrows and operators' },
203
- { name: 'close_small', component: CloseSmallIcon, category: 'Arrows and operators' },
204
- { name: 'remove', component: RemoveIcon, category: 'Arrows and operators' },
205
- { name: 'equal', component: EqualIcon, category: 'Arrows and operators' },
206
- { name: 'function', component: FunctionIcon, category: 'Arrows and operators' },
207
- { name: 'functions', component: FunctionsIcon, category: 'Arrows and operators' },
208
- { name: 'percent', component: PercentIcon, category: 'Arrows and operators' },
209
- { name: 'calculate', component: CalculateIcon, category: 'Arrows and operators' },
210
- { name: 'calculate_fill', component: CalculateFillIcon, category: 'Arrows and operators' },
211
- { name: 'calendar_month', component: CalendarMonthIcon, category: 'Information' },
212
- { name: 'calendar_month_fill', component: CalendarMonthFillIcon, category: 'Information' },
213
- { name: 'event_available', component: EventAvailableIcon, category: 'Information' },
214
- { name: 'event_available_fill', component: EventAvailableFillIcon, category: 'Information' },
215
- { name: 'edit_calendar', component: EditCalendarIcon, category: 'Information' },
216
- { name: 'edit_calendar_fill', component: EditCalendarFillIcon, category: 'Information' },
217
- { name: 'person_pin_circle', component: PersonPinCircleIcon, category: 'Information' },
218
- { name: 'person_pin_circle_fill', component: PersonPinCircleFillIcon, category: 'Information' },
219
- { name: 'euro_symbol', component: EuroSymbolIcon, category: 'Information' },
220
- { name: 'language', component: LanguageIcon, category: 'Information' },
221
- { name: 'grid_4x4', component: Grid4x4Icon, category: 'Information' },
222
- { name: 'sell', component: SellIcon, category: 'Information' },
223
- { name: 'sell_fill', component: SellFillIcon, category: 'Information' },
224
- { name: 'home', component: HomeIcon, category: 'Navigation' },
225
- { name: 'home_fill', component: HomeFillIcon, category: 'Navigation' },
226
- { name: 'menu', component: MenuIcon, category: 'Navigation' },
227
- { name: 'link', component: LinkIcon, category: 'Navigation' },
228
- { name: 'location_searching', component: LocationSearchingIcon, category: 'Navigation' },
229
- { name: 'my_location', component: MyLocationIcon, category: 'Navigation' },
230
- { name: 'my_location_fill', component: MyLocationFillIcon, category: 'Navigation' },
231
- { name: 'location_on', component: LocationOnIcon, category: 'Navigation' },
232
- { name: 'location_on_fill', component: LocationOnFillIcon, category: 'Navigation' },
233
- { name: 'explore', component: ExploreIcon, category: 'Navigation' },
234
- { name: 'explore_fill', component: ExploreFillIcon, category: 'Navigation' },
235
- { name: 'favorite', component: FavoriteIcon, category: 'Notifications and expressions' },
236
- { name: 'favorite_fill', component: FavoriteFillIcon, category: 'Notifications and expressions' },
237
- { name: 'help', component: HelpIcon, category: 'Notifications and expressions' },
238
- { name: 'help_fill', component: HelpFillIcon, category: 'Notifications and expressions' },
239
- { name: 'info', component: InfoIcon, category: 'Notifications and expressions' },
240
- { name: 'info_fill', component: InfoFillIcon, category: 'Notifications and expressions' },
241
- { name: 'warning', component: WarningIcon, category: 'Notifications and expressions' },
242
- { name: 'warning_fill', component: WarningFillIcon, category: 'Notifications and expressions' },
243
- { name: 'check', component: CheckIcon, category: 'Notifications and expressions' },
244
- { name: 'check_circle', component: CheckCircleIcon, category: 'Notifications and expressions' },
245
- { name: 'check_circle_fill', component: CheckCircleFillIcon, category: 'Notifications and expressions' },
246
- { name: 'notifications', component: NotificationsIcon, category: 'Notifications and expressions' },
247
- { name: 'notifications_fill', component: NotificationsFillIcon, category: 'Notifications and expressions' },
248
- { name: 'notifications_off', component: NotificationsOffIcon, category: 'Notifications and expressions' },
249
- { name: 'notifications_off_fill', component: NotificationsOffFillIcon, category: 'Notifications and expressions' },
250
- { name: 'notifications_unread', component: NotificationsUnreadIcon, category: 'Notifications and expressions' },
251
- { name: 'notifications_unread_fill', component: NotificationsUnreadFillIcon, category: 'Notifications and expressions' },
252
- { name: 'notifications_active', component: NotificationsActiveIcon, category: 'Notifications and expressions' },
253
- { name: 'notifications_active_fill', component: NotificationsActiveFillIcon, category: 'Notifications and expressions' },
254
- { name: 'sentiment_satisfied', component: SentimentSatisfiedIcon, category: 'Notifications and expressions' },
255
- { name: 'sentiment_satisfied_fill', component: SentimentSatisfiedFillIcon, category: 'Notifications and expressions' },
256
- { name: 'sentiment_neutral', component: SentimentNeutralIcon, category: 'Notifications and expressions' },
257
- { name: 'sentiment_neutral_fill', component: SentimentNeutralFillIcon, category: 'Notifications and expressions' },
258
- { name: 'sentiment_dissatisfied', component: SentimentDissatisfiedIcon, category: 'Notifications and expressions' },
259
- { name: 'sentiment_dissatisfied_fill', component: SentimentDissatisfiedFillIcon, category: 'Notifications and expressions' },
260
- { name: 'smart_toy', component: SmartToyIcon, category: 'Notifications and expressions' },
261
- { name: 'smart_toy_fill', component: SmartToyFillIcon, category: 'Notifications and expressions' },
262
- { name: 'star', component: StarIcon, category: 'Notifications and expressions' },
263
- { name: 'star_fill', component: StarFillIcon, category: 'Notifications and expressions' },
264
- { name: 'photo_camera', component: PhotoCameraIcon, category: 'Media and devices' },
265
- { name: 'photo_camera_fill', component: PhotoCameraFillIcon, category: 'Media and devices' },
266
- { name: 'chat', component: ChatIcon, category: 'Media and devices' },
267
- { name: 'chat_fill', component: ChatFillIcon, category: 'Media and devices' },
268
- { name: 'rss_feed', component: RSSFeedIcon, category: 'Media and devices' },
269
- { name: 'description', component: DescriptionIcon, category: 'Media and devices' },
270
- { name: 'image', component: ImageIcon, category: 'Media and devices' },
271
- { name: 'image_fill', component: ImageFillIcon, category: 'Media and devices' },
272
- { name: 'gallery_thumbnail', component: GalleryThumbnailIcon, category: 'Media and devices' },
273
- { name: 'photo_library', component: PhotoLibraryIcon, category: 'Media and devices' },
274
- { name: 'fiber_manual_record', component: FiberManualRecordIcon, category: 'Media and devices' },
275
- { name: 'fiber_manual_record_fill', component: FiberManualRecordFillIcon, category: 'Media and devices' },
276
- { name: 'pause', component: PauseIcon, category: 'Media and devices' },
277
- { name: 'pause_fill', component: PauseFillIcon, category: 'Media and devices' },
278
- { name: 'pause_circle', component: PauseCircleIcon, category: 'Media and devices' },
279
- { name: 'pause_circle_fill', component: PauseCircleFillIcon, category: 'Media and devices' },
280
- { name: 'stop_circle', component: StopCircleIcon, category: 'Media and devices' },
281
- { name: 'stop_circle_fill', component: StopCircleFillIcon, category: 'Media and devices' },
282
- { name: 'stop', component: StopIcon, category: 'Media and devices' },
283
- { name: 'stop_fill', component: StopFillIcon, category: 'Media and devices' },
284
- { name: 'play_pause', component: PlayPauseIcon, category: 'Media and devices' },
285
- { name: 'play_arrow', component: PlayArrowIcon, category: 'Media and devices' },
286
- { name: 'play_arrow_fill', component: PlayArrowFillIcon, category: 'Media and devices' },
287
- { name: 'skip_previous', component: SkipPreviousIcon, category: 'Media and devices' },
288
- { name: 'skip_previous_fill', component: SkipPreviousFillIcon, category: 'Media and devices' },
289
- { name: 'skip_next', component: SkipNextIcon, category: 'Media and devices' },
290
- { name: 'skip_next_fill', component: SkipNextFillIcon, category: 'Media and devices' },
291
- { name: 'fast_rewind', component: FastRewindIcon, category: 'Media and devices' },
292
- { name: 'fast_rewind_fill', component: FastRewindFillIcon, category: 'Media and devices' },
293
- { name: 'fast_forward', component: FastForwardIcon, category: 'Media and devices' },
294
- { name: 'fast_forward_fill', component: FastForwardFillIcon, category: 'Media and devices' },
12
+ ...customIcons,
13
+ ...actionIcons,
14
+ ...arrowIcons,
15
+ ...informationIcons,
16
+ ...navigationIcons,
17
+ ...notificationIcons,
18
+ ...mediaIcons,
19
+ ...textIcons,
20
+ ...userIcons,
295
21
  ];
296
- //# sourceMappingURL=iconList.js.map
@@ -40,4 +40,3 @@ export const Icons = () => {
40
40
  });
41
41
  return container;
42
42
  };
43
- //# sourceMappingURL=icons.stories.js.map
@@ -11,11 +11,10 @@ export const Spacing = () => {
11
11
  const renderedCategories = new Set();
12
12
  const categoryNames = [...new Set(Object.values(categories)), 'Other'];
13
13
  categoryNames.forEach(category => {
14
- const categorySpacing = spacingVariables.filter(spacing => spacing.category === category);
15
- if (categorySpacing.length > 0) {
14
+ const categorySpacing = spacingVariables[category.toLowerCase()];
15
+ if (categorySpacing && categorySpacing.length > 0) {
16
16
  container.appendChild(createCategorySection(category, categorySpacing, renderedCategories));
17
17
  }
18
18
  });
19
19
  return container;
20
20
  };
21
- //# sourceMappingURL=spacing.stories.js.map
@@ -1,10 +1,50 @@
1
1
  // src/components/00-foundations/typography/typography.stories.ts
2
2
  import "./_typography.scss";
3
3
  import { getTypographyVariables, createCategorySection, categories } from "../../../utils/typography/typographyUtils";
4
- export default {
4
+ import { html } from "lit";
5
+ const meta = {
5
6
  title: 'Foundations/Typography',
6
7
  };
7
- export const Typography = () => {
8
+ export default meta;
9
+ export const Headings = {
10
+ argTypes: {
11
+ text: {
12
+ name: 'Text',
13
+ control: 'text',
14
+ },
15
+ },
16
+ args: {
17
+ text: 'This is a heading',
18
+ },
19
+ render: (args) => html `
20
+ <h1>${args.text}</h1>
21
+ <h2>${args.text}</h2>
22
+ <h3>${args.text}</h3>
23
+ <h4>${args.text}</h4>
24
+ <h5>${args.text}</h5>
25
+ <h6>${args.text}</h6>
26
+ `,
27
+ };
28
+ export const Text = {
29
+ argTypes: {
30
+ text: {
31
+ name: 'Text',
32
+ control: 'text',
33
+ },
34
+ },
35
+ args: {
36
+ text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis nulla vehicula, commodo massa sit amet, commodo felis. Fusce et consectetur felis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Integer elit egestas luctus.',
37
+ },
38
+ render: (args) => html `
39
+ <p class="bodyText bodyText--2xLarge">${args.text}</p>
40
+ <p class="bodyText bodyText--xLarge">${args.text}</p>
41
+ <p class="bodyText bodyText--large">${args.text}</p>
42
+ <p class="bodyText bodyText--medium">${args.text}</p>
43
+ <p class="bodyText bodyText--small">${args.text}</p>
44
+ <p class="bodyText bodyText--xSmall">${args.text}</p>
45
+ `,
46
+ };
47
+ const renderTypography = () => {
8
48
  const container = document.createElement('div');
9
49
  const typographyVariables = getTypographyVariables();
10
50
  // Reset the renderedCategories set
@@ -18,4 +58,13 @@ export const Typography = () => {
18
58
  });
19
59
  return container;
20
60
  };
21
- //# sourceMappingURL=typography.stories.js.map
61
+ export const Typography = {
62
+ parameters: {
63
+ docs: {
64
+ source: {
65
+ code: renderTypography().outerHTML,
66
+ },
67
+ },
68
+ },
69
+ render: renderTypography,
70
+ };