@tmorrow/cre8-react 1.0.20 → 1.1.2

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 (137) hide show
  1. package/lib/components/Accordion/Cre8Accordion.d.ts +2 -2
  2. package/lib/components/Accordion/Cre8Accordion.d.ts.map +1 -1
  3. package/lib/components/AccordionItem/Cre8AccordionItem.d.ts +7 -5
  4. package/lib/components/AccordionItem/Cre8AccordionItem.d.ts.map +1 -1
  5. package/lib/components/AccordionItem/Cre8AccordionItem.js.map +1 -1
  6. package/lib/components/Alert/Cre8Alert.d.ts +3 -3
  7. package/lib/components/Alert/Cre8Alert.d.ts.map +1 -1
  8. package/lib/components/Band/Cre8Band.d.ts +1 -1
  9. package/lib/components/Band/Cre8Band.d.ts.map +1 -1
  10. package/lib/components/Button/Cre8Button.d.ts +19 -21
  11. package/lib/components/Button/Cre8Button.d.ts.map +1 -1
  12. package/lib/components/Button/Cre8Button.js.map +1 -1
  13. package/lib/components/ButtonGroup/Cre8ButtonGroup.d.ts +1 -1
  14. package/lib/components/ButtonGroup/Cre8ButtonGroup.d.ts.map +1 -1
  15. package/lib/components/Card/Cre8Card.d.ts +2 -2
  16. package/lib/components/Card/Cre8Card.d.ts.map +1 -1
  17. package/lib/components/Chart/Cre8Chart.d.ts +31 -6
  18. package/lib/components/Chart/Cre8Chart.d.ts.map +1 -1
  19. package/lib/components/Chart/Cre8Chart.js +6 -1
  20. package/lib/components/Chart/Cre8Chart.js.map +1 -1
  21. package/lib/components/CheckboxField/Cre8CheckboxField.d.ts +6 -6
  22. package/lib/components/CheckboxField/Cre8CheckboxField.d.ts.map +1 -1
  23. package/lib/components/CheckboxFieldItem/Cre8CheckboxFieldItem.d.ts +16 -23
  24. package/lib/components/CheckboxFieldItem/Cre8CheckboxFieldItem.d.ts.map +1 -1
  25. package/lib/components/CheckboxFieldItem/Cre8CheckboxFieldItem.js +0 -3
  26. package/lib/components/CheckboxFieldItem/Cre8CheckboxFieldItem.js.map +1 -1
  27. package/lib/components/DangerButton/Cre8DangerButton.d.ts +16 -18
  28. package/lib/components/DangerButton/Cre8DangerButton.d.ts.map +1 -1
  29. package/lib/components/DangerButton/Cre8DangerButton.js.map +1 -1
  30. package/lib/components/DatePicker/Cre8DatePicker.d.ts +22 -26
  31. package/lib/components/DatePicker/Cre8DatePicker.d.ts.map +1 -1
  32. package/lib/components/DatePicker/Cre8DatePicker.js.map +1 -1
  33. package/lib/components/Divider/Cre8Divider.d.ts +1 -1
  34. package/lib/components/Divider/Cre8Divider.d.ts.map +1 -1
  35. package/lib/components/Field/Cre8Field.d.ts +21 -25
  36. package/lib/components/Field/Cre8Field.d.ts.map +1 -1
  37. package/lib/components/Field/Cre8Field.js.map +1 -1
  38. package/lib/components/FieldNote/Cre8FieldNote.d.ts +2 -2
  39. package/lib/components/FieldNote/Cre8FieldNote.d.ts.map +1 -1
  40. package/lib/components/GlobalNav/Cre8GlobalNav.d.ts +1 -1
  41. package/lib/components/GlobalNav/Cre8GlobalNav.d.ts.map +1 -1
  42. package/lib/components/Grid/Cre8Grid.d.ts +3 -3
  43. package/lib/components/Grid/Cre8Grid.d.ts.map +1 -1
  44. package/lib/components/Heading/Cre8Heading.d.ts +5 -5
  45. package/lib/components/Heading/Cre8Heading.d.ts.map +1 -1
  46. package/lib/components/Hero/Cre8Hero.d.ts +1 -1
  47. package/lib/components/Hero/Cre8Hero.d.ts.map +1 -1
  48. package/lib/components/InlineAlert/Cre8InlineAlert.d.ts +4 -4
  49. package/lib/components/InlineAlert/Cre8InlineAlert.d.ts.map +1 -1
  50. package/lib/components/Layout/Cre8Layout.d.ts +1 -1
  51. package/lib/components/Layout/Cre8Layout.d.ts.map +1 -1
  52. package/lib/components/LayoutSection/Cre8LayoutSection.d.ts +1 -1
  53. package/lib/components/LayoutSection/Cre8LayoutSection.d.ts.map +1 -1
  54. package/lib/components/Link/Cre8Link.d.ts +3 -3
  55. package/lib/components/Link/Cre8Link.d.ts.map +1 -1
  56. package/lib/components/LinkList/Cre8LinkList.d.ts +4 -4
  57. package/lib/components/LinkList/Cre8LinkList.d.ts.map +1 -1
  58. package/lib/components/List/Cre8List.d.ts +2 -2
  59. package/lib/components/List/Cre8List.d.ts.map +1 -1
  60. package/lib/components/LoadingSpinner/Cre8LoadingSpinner.d.ts +2 -2
  61. package/lib/components/LoadingSpinner/Cre8LoadingSpinner.d.ts.map +1 -1
  62. package/lib/components/Modal/Cre8Modal.d.ts +1 -1
  63. package/lib/components/Modal/Cre8Modal.d.ts.map +1 -1
  64. package/lib/components/MultiSelect/Cre8MultiSelect.d.ts +10 -13
  65. package/lib/components/MultiSelect/Cre8MultiSelect.d.ts.map +1 -1
  66. package/lib/components/MultiSelect/Cre8MultiSelect.js +0 -3
  67. package/lib/components/MultiSelect/Cre8MultiSelect.js.map +1 -1
  68. package/lib/components/Pagination/Cre8Pagination.d.ts +8 -7
  69. package/lib/components/Pagination/Cre8Pagination.d.ts.map +1 -1
  70. package/lib/components/Pagination/Cre8Pagination.js +0 -3
  71. package/lib/components/Pagination/Cre8Pagination.js.map +1 -1
  72. package/lib/components/PercentBar/Cre8PercentBar.d.ts +0 -3
  73. package/lib/components/PercentBar/Cre8PercentBar.d.ts.map +1 -1
  74. package/lib/components/PercentBar/Cre8PercentBar.js.map +1 -1
  75. package/lib/components/Popover/Cre8Popover.d.ts +1 -1
  76. package/lib/components/Popover/Cre8Popover.d.ts.map +1 -1
  77. package/lib/components/PrimaryNav/Cre8PrimaryNav.d.ts +1 -1
  78. package/lib/components/PrimaryNav/Cre8PrimaryNav.d.ts.map +1 -1
  79. package/lib/components/ProgressMeter/Cre8ProgressMeter.d.ts +5 -8
  80. package/lib/components/ProgressMeter/Cre8ProgressMeter.d.ts.map +1 -1
  81. package/lib/components/ProgressMeter/Cre8ProgressMeter.js.map +1 -1
  82. package/lib/components/ProgressStepsItem/Cre8ProgressStepsItem.d.ts +1 -1
  83. package/lib/components/RadioField/Cre8RadioField.d.ts +6 -6
  84. package/lib/components/RadioField/Cre8RadioField.d.ts.map +1 -1
  85. package/lib/components/RadioFieldItem/Cre8RadioFieldItem.d.ts +13 -17
  86. package/lib/components/RadioFieldItem/Cre8RadioFieldItem.d.ts.map +1 -1
  87. package/lib/components/RadioFieldItem/Cre8RadioFieldItem.js.map +1 -1
  88. package/lib/components/RemoveTag/Cre8RemoveTag.d.ts +1 -4
  89. package/lib/components/RemoveTag/Cre8RemoveTag.d.ts.map +1 -1
  90. package/lib/components/RemoveTag/Cre8RemoveTag.js +0 -3
  91. package/lib/components/RemoveTag/Cre8RemoveTag.js.map +1 -1
  92. package/lib/components/Select/Cre8Select.d.ts +11 -18
  93. package/lib/components/Select/Cre8Select.d.ts.map +1 -1
  94. package/lib/components/Select/Cre8Select.js +0 -3
  95. package/lib/components/Select/Cre8Select.js.map +1 -1
  96. package/lib/components/SelectTile/Cre8SelectTile.d.ts +11 -13
  97. package/lib/components/SelectTile/Cre8SelectTile.d.ts.map +1 -1
  98. package/lib/components/SelectTile/Cre8SelectTile.js.map +1 -1
  99. package/lib/components/SelectTileList/Cre8SelectTileList.d.ts +1 -1
  100. package/lib/components/SelectTileList/Cre8SelectTileList.d.ts.map +1 -1
  101. package/lib/components/SkeletonLoader/Cre8SkeletonLoader.d.ts +2 -2
  102. package/lib/components/SkeletonLoader/Cre8SkeletonLoader.d.ts.map +1 -1
  103. package/lib/components/SplitButton/Cre8SplitButton.d.ts +1 -1
  104. package/lib/components/SplitButton/Cre8SplitButton.d.ts.map +1 -1
  105. package/lib/components/Tab/Cre8Tab.d.ts +2 -5
  106. package/lib/components/Tab/Cre8Tab.d.ts.map +1 -1
  107. package/lib/components/Tab/Cre8Tab.js +0 -3
  108. package/lib/components/Tab/Cre8Tab.js.map +1 -1
  109. package/lib/components/Table/Cre8Table.d.ts +2 -2
  110. package/lib/components/Table/Cre8Table.d.ts.map +1 -1
  111. package/lib/components/TableCell/Cre8TableCell.d.ts +1 -1
  112. package/lib/components/TableCell/Cre8TableCell.d.ts.map +1 -1
  113. package/lib/components/TableRow/Cre8TableRow.d.ts +1 -1
  114. package/lib/components/TableRow/Cre8TableRow.d.ts.map +1 -1
  115. package/lib/components/Tabs/Cre8Tabs.d.ts +5 -8
  116. package/lib/components/Tabs/Cre8Tabs.d.ts.map +1 -1
  117. package/lib/components/Tabs/Cre8Tabs.js +0 -3
  118. package/lib/components/Tabs/Cre8Tabs.js.map +1 -1
  119. package/lib/components/Tag/Cre8Tag.d.ts +4 -8
  120. package/lib/components/Tag/Cre8Tag.d.ts.map +1 -1
  121. package/lib/components/Tag/Cre8Tag.js.map +1 -1
  122. package/lib/components/TagList/Cre8TagList.d.ts +2 -2
  123. package/lib/components/TagList/Cre8TagList.d.ts.map +1 -1
  124. package/lib/components/TextLink/Cre8TextLink.d.ts +2 -2
  125. package/lib/components/TextLink/Cre8TextLink.d.ts.map +1 -1
  126. package/lib/components/TextPassage/Cre8TextPassage.d.ts +1 -1
  127. package/lib/components/TextPassage/Cre8TextPassage.d.ts.map +1 -1
  128. package/lib/components/Tooltip/Cre8Tooltip.d.ts +6 -5
  129. package/lib/components/Tooltip/Cre8Tooltip.d.ts.map +1 -1
  130. package/lib/components/Tooltip/Cre8Tooltip.js.map +1 -1
  131. package/lib/components/UtilityNavItem/Cre8UtilityNavItem.d.ts +1 -1
  132. package/lib/components/UtilityNavItem/Cre8UtilityNavItem.d.ts.map +1 -1
  133. package/lib/index.d.ts +25 -25
  134. package/lib/index.d.ts.map +1 -1
  135. package/lib/index.js +25 -25
  136. package/lib/index.js.map +1 -1
  137. package/package.json +342 -4
@@ -1,9 +1,9 @@
1
1
  import { Cre8Accordion as Cre8AccordionElement } from '@tmorrow/cre8-wc/lib/components/accordion/accordion';
2
2
  export interface Cre8AccordionProps {
3
3
  /** borderType */
4
- borderType?: "rectangle" | "rounded-bottom" | "rounded" | "none" | undefined;
4
+ borderType?: any;
5
5
  /** When it is true, the inner dividers are displayed; if it is false, the inner dividers are not displayed */
6
- hasDivider?: boolean | undefined;
6
+ hasDivider?: boolean;
7
7
  }
8
8
  /**
9
9
  * The component is a vertically stacked list of headers that reveal or hide sections of related content on a page.
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Accordion.d.ts","sourceRoot":"","sources":["../../../components/Accordion/Cre8Accordion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAG5G,MAAM,WAAW,kBAAkB;IACjC,iBAAiB;IACjB,UAAU,CAAC,EAAE,WAAW,GAAG,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAC7E,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,kEAKxB,CAAC;AAEH,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"Cre8Accordion.d.ts","sourceRoot":"","sources":["../../../components/Accordion/Cre8Accordion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAG5G,MAAM,WAAW,kBAAkB;IACjC,iBAAiB;IACjB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,kEAKxB,CAAC;AAEH,eAAe,aAAa,CAAC"}
@@ -2,21 +2,23 @@ import { Cre8AccordionItem as Cre8AccordionItemElement } from '@tmorrow/cre8-wc/
2
2
  import React from 'react';
3
3
  export interface Cre8AccordionItemProps {
4
4
  /** When true, the Accordion Item is opens, when false it closes; */
5
- isActive?: boolean | undefined;
5
+ isActive?: boolean;
6
+ /** Optional custom id for the accordion item, if one is not set, a random id is generated for you. */
7
+ accordionItemId?: string | undefined;
6
8
  /** Controls the positioning of the dropdown icon in relation to the text, true puts the icon before the text and false/undefined default the icon to the opposite side of the accordion item */
7
9
  iconBefore?: boolean | undefined;
8
10
  /** Controls the appearance of dropdown icon as being an icon-only button. true renders the tertiary variant and false/undefined renders the default secondary appearance. */
9
11
  tertiaryIcon?: boolean | undefined;
10
12
  /** Users can choose between two header sizes: 'sm' [title-default] or 'lg' [title-large]. */
11
- size?: "sm" | "lg";
13
+ size?: any;
12
14
  /** Purely meant to help the user structure the HTML page hierarchy. Does not change the header size. Defaults to 'h3' */
13
- headingTagVariant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
15
+ headingTagVariant?: any;
14
16
  /** Controls the text content of the Accordion Item heading. */
15
17
  heading?: string;
16
18
  /** Controls whether the header takes on the theme's 'brand-strong' color */
17
19
  brandHeader?: boolean | undefined;
18
- /** Optional custom id for the accordion item, if one is not set, a random id is generated for you. */
19
- accordionItemId?: string | undefined;
20
+ /** The aria attribute to which is assigned the id of the details section which is revealed via interaction with the header. */
21
+ ariaControls?: string;
20
22
  children?: React.ReactNode;
21
23
  }
22
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8AccordionItem.d.ts","sourceRoot":"","sources":["../../../components/AccordionItem/Cre8AccordionItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAC9H,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,sBAAsB;IACrC,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,gMAAgM;IAChM,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,8KAA8K;IAC9K,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,8FAA8F;IAC9F,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,yHAAyH;IACzH,iBAAiB,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5D,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,sGAAsG;IACtG,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,sEAK5B,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"Cre8AccordionItem.d.ts","sourceRoot":"","sources":["../../../components/AccordionItem/Cre8AccordionItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAC9H,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,sBAAsB;IACrC,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sGAAsG;IACtG,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,gMAAgM;IAChM,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,8KAA8K;IAC9K,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,8FAA8F;IAC9F,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,yHAAyH;IACzH,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,+HAA+H;IAC/H,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,sEAK5B,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8AccordionItem.js","sourceRoot":"","sources":["../../../components/AccordionItem/Cre8AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAC9H,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC;IAC/C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,wBAAwB;CAEvC,CAAC,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"Cre8AccordionItem.js","sourceRoot":"","sources":["../../../components/AccordionItem/Cre8AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAC9H,OAAO,KAAK,MAAM,OAAO,CAAC;AAwB1B;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC;IAC/C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,wBAAwB;CAEvC,CAAC,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { Cre8Alert as Cre8AlertElement } from '@tmorrow/cre8-wc/lib/components/alert/alert';
2
2
  export interface Cre8AlertProps {
3
3
  /** The alert type. */
4
- status?: "error" | "info" | "notification" | "neutral" | "warning" | "success" | undefined;
4
+ status?: any;
5
5
  /** The alert variant. */
6
- variant?: "standalone" | "banner";
7
- emphasis?: "subtle" | "strong";
6
+ variant?: any;
7
+ emphasis?: any;
8
8
  iconAlert?: string;
9
9
  /** Icon title used for the icon alt text */
10
10
  iconTitle?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Alert.d.ts","sourceRoot":"","sources":["../../../components/Alert/Cre8Alert.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAG5F,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAC3F,yBAAyB;IACzB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC;IAClC,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mGAAmG;IACnG,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,6EAA6E;IAC7E,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACtC;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,8DAKpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Cre8Alert.d.ts","sourceRoot":"","sources":["../../../components/Alert/Cre8Alert.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAG5F,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,yBAAyB;IACzB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mGAAmG;IACnG,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,6EAA6E;IAC7E,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACtC;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,8DAKpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -2,7 +2,7 @@ import { Cre8Band as Cre8BandElement } from '@tmorrow/cre8-wc/lib/components/ban
2
2
  import React from 'react';
3
3
  export interface Cre8BandProps {
4
4
  /** Gradient variant <cre8-text-passage size="sm"> <ul> <li>**1** renders the band with the set gradient background</li> </ul> </cre8-text-passage> */
5
- variant?: "branded" | undefined;
5
+ variant?: any;
6
6
  /** Full height variant 1) Sets the height to 100% */
7
7
  fullHeight?: boolean | undefined;
8
8
  children?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Band.d.ts","sourceRoot":"","sources":["../../../components/Band/Cre8Band.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,aAAa;IAC5B,sJAAsJ;IACtJ,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,6DAKnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Cre8Band.d.ts","sourceRoot":"","sources":["../../../components/Band/Cre8Band.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,aAAa;IAC5B,sJAAsJ;IACtJ,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,6DAKnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -1,19 +1,27 @@
1
1
  import { Cre8Button as Cre8ButtonElement } from '@tmorrow/cre8-wc/lib/components/button/button';
2
2
  export interface Cre8ButtonProps {
3
- /** The button text. Should be as short and simple as possible, ideally a maximum of 3 words. - Use Title Case for readability. - Should not include punctuation (exception: "Loading..."). - Should not be used as an indicator of what happens on the next page, or as a substitute for a progress meter. */
4
- text?: string | undefined;
5
- /** Style variant - **primary** renders the button used for primary actions. Presents highest visual priority. When grouped with other buttons, only one primary is allowed - **secondary** renders a secondary button. Presents a lower visual priority - **tertiary** renders a tertiary button. Presents the lowest visual priority. Should be used in limited amounts - consider if a link (`<a>`) would be more appropriate */
6
- variant?: "primary" | "secondary" | "tertiary" | undefined;
7
3
  /** Disabled attribute */
8
- disabled?: boolean;
4
+ disabled?: boolean | undefined;
9
5
  /** This property is for a neutral button propery mainly used for the secondary or tertiary button variant. */
10
6
  neutral?: boolean | undefined;
11
7
  /** Inverse attribute */
12
- inverse?: boolean;
8
+ inverse?: boolean | undefined;
9
+ /** Full width button */
10
+ fullWidth?: boolean | undefined;
11
+ /** * Changes styling to an active state with a spinning icon. * Adds accessibility treatment by: * announcing via voiceover when the loading success/error state via a aria-live region * setting `aria-disabled` * Disables click events / form submitting while allowing focus (for accessibility) */
12
+ loading?: boolean | undefined;
13
+ /** * Variant of the loading button that: * Removes loading spinner * Informs the SR user that the loading status is now complete, with visually hidden text in the live area */
14
+ loadingComplete?: boolean | undefined;
15
+ /** The button text. Should be as short and simple as possible, ideally a maximum of 3 words. - Use Title Case for readability. - Should not include punctuation (exception: "Loading..."). - Should not be used as an indicator of what happens on the next page, or as a substitute for a progress meter. */
16
+ text?: string;
17
+ /** Style variant - **primary** renders the button used for primary actions. Presents highest visual priority. When grouped with other buttons, only one primary is allowed - **secondary** renders a secondary button. Presents a lower visual priority - **tertiary** renders a tertiary button. Presents the lowest visual priority. Should be used in limited amounts - consider if a link (`<a>`) would be more appropriate */
18
+ variant?: any;
13
19
  /** Provide this property if you intend to use button styles for an anchor tag (`<a>`). This changes the component markup from `<button>` usage to `<a>` instead. */
14
20
  href?: string | undefined;
15
21
  /** Target attribute for a link if providing `href` to style a link as a button - **_blank** yields a link that opens in a new tab - **_self** yields a link that loads the URL into the same browsing context as the current one. This is the default behavior - **_parent** yields a link that loads the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as _self - **_top** yields a link that loads the URL into the top-level browsing context. If there is no parent, this behaves the same way as _self. */
16
- target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
22
+ target?: any;
23
+ /** Type of button. - **button** (default) button has no default behavior and does nothing unless provided some sort of client-side trigger - **submit** button for submitting form data to a server */
24
+ type?: any;
17
25
  /** Rel if this is an <a> element - this swaps <button> for <a> */
18
26
  rel?: string | undefined;
19
27
  /** Deprecated: iconName, use svg instead Icon name if including an icon within a button. Must include the icon's position with `iconPostion`. This prop is used for <cre8-icon-legacy> */
@@ -25,27 +33,17 @@ export interface Cre8ButtonProps {
25
33
  /** iconFlipDirection is used for <cre8-icon> to set the icon in the correct direction */
26
34
  iconFlipDirection?: string | undefined;
27
35
  /** Icon position. Must include the name of the icon with `iconName` - **before** places the icon before the button text - **after** places the icon after the button text */
28
- iconPosition?: "before" | "after" | undefined;
36
+ iconPosition?: any;
29
37
  /** Size variants add another way to increase or decrease visual priority of a button. - **sm** Shrinks the button typography and overall size from the default. Use when vertical space is constrained. - **md** This is the default value for the size. - **lg** Increases the button typography and overall size from the default. */
30
- size?: "sm" | "lg" | "md";
38
+ size?: any;
31
39
  /** Visually hide button text. Text is still accessible to assistive technology. Use this for icon-only buttons for accessibility */
32
40
  hideText?: boolean | undefined;
33
- /** Full width button */
34
- fullWidth?: boolean;
35
- /** * Changes styling to an active state with a spinning icon. * Adds accessibility treatment by: * announcing via voiceover when the loading success/error state via a aria-live region * setting `aria-disabled` * Disables click events / form submitting while allowing focus (for accessibility) */
36
- loading?: boolean;
37
- /** * Variant of the loading button that: * Removes loading spinner * Informs the SR user that the loading status is now complete, with visually hidden text in the live area */
38
- loadingComplete?: boolean;
39
41
  /** Controls whether your loading status update to voiceover users will occur immediately (used for more urgently needed updates) using `assertive` or at the next convenient pause in their navigation using `polite`. */
40
- ariaLive?: "polite" | "assertive";
42
+ ariaLive?: any;
41
43
  /** These two subvariants of the split button style the two seperate buttons to style as a singular button */
42
- splitButtonType?: "text" | "caret" | undefined;
44
+ splitButtonType?: any;
43
45
  /** Button aria expanded attribute */
44
46
  buttonAriaExpanded?: boolean | undefined;
45
- /** Type of button. - **button** (default) button has no default behavior and does nothing unless provided some sort of client-side trigger - **submit** button for submitting form data to a server */
46
- type?: "button" | "submit" | "reset";
47
- /** The value of the form field. */
48
- value?: string;
49
47
  }
50
48
  /**
51
49
  * The size and state of buttons on the screen serve as visual cues for the user
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Button.d.ts","sourceRoot":"","sources":["../../../components/Button/Cre8Button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAGhG,MAAM,WAAW,eAAe;IAC9B,8SAA8S;IAC9S,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,uaAAua;IACva,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;IAC3D,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8GAA8G;IAC9G,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,wBAAwB;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oKAAoK;IACpK,IAA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ACxU,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,oIAAoI;IACpI,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,0NAA0N;IAC1N,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,6GAA6G;IAC7G,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC1C;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,+DAKrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Button.js","sourceRoot":"","sources":["../../../components/Button/Cre8Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,KAAK,MAAM,OAAO,CAAC;AAmD1B;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC;IACxC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,aAAa;IACtB,YAAY,EAAE,iBAAiB;CAEhC,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Cre8Button.js","sourceRoot":"","sources":["../../../components/Button/Cre8Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,KAAK,MAAM,OAAO,CAAC;AAiD1B;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC;IACxC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,aAAa;IACtB,YAAY,EAAE,iBAAiB;CAEhC,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -2,7 +2,7 @@ import { Cre8ButtonGroup as Cre8ButtonGroupElement } from '@tmorrow/cre8-wc/lib/
2
2
  import React from 'react';
3
3
  export interface Cre8ButtonGroupProps {
4
4
  /** Responsive Button Group (for modals) */
5
- orientation?: "responsive-full-width" | undefined;
5
+ orientation?: any;
6
6
  children?: React.ReactNode;
7
7
  }
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8ButtonGroup.d.ts","sourceRoot":"","sources":["../../../components/ButtonGroup/Cre8ButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AACtH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,oEAK1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"Cre8ButtonGroup.d.ts","sourceRoot":"","sources":["../../../components/ButtonGroup/Cre8ButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AACtH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,oEAK1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -2,9 +2,9 @@ import { Cre8Card as Cre8CardElement } from '@tmorrow/cre8-wc/lib/components/car
2
2
  import React from 'react';
3
3
  export interface Cre8CardProps {
4
4
  /** Style variants - **bare** renders a card without a border and without padding around the content - **horizontal** renders a card with header, body, footer oriented in a row rather than a column - **horizontal-bare** renders a card with header, body, footer oriented in a row rather than a column without a border and without padding around the content */
5
- variant?: "bare" | "horizontal" | "horizontal-bare" | undefined;
5
+ variant?: any;
6
6
  /** Alignment variant - **center** renders a card that has center aligned content/text */
7
- align?: "center" | undefined;
7
+ align?: any;
8
8
  children?: React.ReactNode;
9
9
  }
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Card.d.ts","sourceRoot":"","sources":["../../../components/Card/Cre8Card.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,aAAa;IAC5B,wWAAwW;IACxW,OAAO,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,iBAAiB,GAAG,SAAS,CAAC;IAChE,yFAAyF;IACzF,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,6DAKnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Cre8Card.d.ts","sourceRoot":"","sources":["../../../components/Card/Cre8Card.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,aAAa;IAC5B,wWAAwW;IACxW,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,yFAAyF;IACzF,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,6DAKnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -1,13 +1,38 @@
1
1
  import { Cre8Chart as Cre8ChartElement } from '@tmorrow/cre8-wc/lib/components/chart/chart';
2
2
  export interface Cre8ChartProps {
3
- chartData?: any;
4
- chartType?: any;
5
- chartOptions?: object;
6
- isLoading?: boolean;
3
+ /** The type of chart to render. */
4
+ type?: any;
5
+ /** Width of the chart container in pixels. If not set, the chart will be responsive. */
6
+ width?: number | undefined;
7
+ /** Height of the chart container in pixels. If not set, defaults to 400px. */
8
+ height?: number;
9
+ /** Whether the chart should maintain aspect ratio when resizing. */
10
+ maintainAspectRatio?: boolean;
11
+ /** Whether the chart should be responsive to container size. */
12
+ responsive?: boolean;
13
+ /** Display a loading indicator instead of the chart. */
14
+ loading?: boolean;
15
+ /** Accessible label for the chart. */
16
+ ariaLabel?: string;
17
+ /** Whether to show the legend. */
18
+ showLegend?: boolean;
19
+ /** Position of the legend. */
20
+ legendPosition?: any;
21
+ /** Whether to animate chart updates. */
22
+ enableAnimation?: boolean;
23
+ /** Animation duration in milliseconds. */
24
+ animationDuration?: number;
25
+ onCre8ChartClick?: (event: CustomEvent) => void;
26
+ onCre8ChartHover?: (event: CustomEvent) => void;
27
+ onCre8ChartReady?: (event: CustomEvent) => void;
7
28
  }
8
29
  /**
9
- * Cre8Chart component
30
+ * A flexible chart component built on Chart.js that supports multiple chart types
10
31
  */
11
- export declare const Cre8Chart: import("@lit/react").ReactWebComponent<Cre8ChartElement, {}>;
32
+ export declare const Cre8Chart: import("@lit/react").ReactWebComponent<Cre8ChartElement, {
33
+ onCre8ChartClick: string;
34
+ onCre8ChartHover: string;
35
+ onCre8ChartReady: string;
36
+ }>;
12
37
  export default Cre8Chart;
13
38
  //# sourceMappingURL=Cre8Chart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Chart.d.ts","sourceRoot":"","sources":["../../../components/Chart/Cre8Chart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAG5F,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,C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 +2,17 @@ import { createComponent } from '@lit/react';
2
2
  import { Cre8Chart as Cre8ChartElement } from '@tmorrow/cre8-wc/lib/components/chart/chart';
3
3
  import React from 'react';
4
4
  /**
5
- * Cre8Chart component
5
+ * A flexible chart component built on Chart.js that supports multiple chart types
6
6
  */
7
7
  export const Cre8Chart = createComponent({
8
8
  react: React,
9
9
  tagName: 'cre8-chart',
10
10
  elementClass: Cre8ChartElement,
11
+ events: {
12
+ onCre8ChartClick: 'cre8-chart-click',
13
+ onCre8ChartHover: 'cre8-chart-hover',
14
+ onCre8ChartReady: 'cre8-chart-ready'
15
+ }
11
16
  });
12
17
  export default Cre8Chart;
13
18
  //# sourceMappingURL=Cre8Chart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8Chart.js","sourceRoot":"","sources":["../../../components/Chart/Cre8Chart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC;IACvC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;IACrB,YAAY,EAAE,gBAAgB;CAE/B,CAAC,CAAC;AAEH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Cre8Chart.js","sourceRoot":"","sources":["../../../components/Chart/Cre8Chart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC;IACvC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;IACrB,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE;QACN,gBAAgB,EAAE,kBAAkB;QACpC,gBAAgB,EAAE,kBAAkB;QACpC,gBAAgB,EAAE,kBAAkB;KACrC;CACF,CAAC,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -1,6 +1,12 @@
1
1
  import { Cre8CheckboxField as Cre8CheckboxFieldElement } from '@tmorrow/cre8-wc/lib/components/checkbox-field/checkbox-field';
2
2
  import React from 'react';
3
3
  export interface Cre8CheckboxFieldProps {
4
+ /** Checkbox container fieldnote knockout */
5
+ fieldNoteKnockout?: boolean | undefined;
6
+ /** Checkbox container fieldnote isSuccess */
7
+ fieldNoteIsSuccess?: boolean | undefined;
8
+ /** Checkbox container fieldnote isError */
9
+ fieldNoteIsError?: boolean | undefined;
4
10
  /** Checkbox container legend label */
5
11
  label?: string | undefined;
6
12
  /** Checkbox container fieldnote */
@@ -9,12 +15,6 @@ export interface Cre8CheckboxFieldProps {
9
15
  ariaDescribedBy?: string | undefined;
10
16
  /** Checkbox container fieldnote icon name */
11
17
  fieldNoteIconName?: string | undefined;
12
- /** Checkbox container fieldnote knockout */
13
- fieldNoteKnockout?: boolean;
14
- /** Checkbox container fieldnote isSuccess */
15
- fieldNoteIsSuccess?: boolean;
16
- /** Checkbox container fieldnote isError */
17
- fieldNoteIsError?: boolean;
18
18
  children?: React.ReactNode;
19
19
  }
20
20
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8CheckboxField.d.ts","sourceRoot":"","sources":["../../../components/CheckboxField/Cre8CheckboxField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAC9H,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,sBAAsB;IACrC,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IA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Ae,iBAAiB,CAAC"}
@@ -1,46 +1,39 @@
1
1
  import { Cre8CheckboxFieldItem as Cre8CheckboxFieldItemElement } from '@tmorrow/cre8-wc/lib/components/checkbox-field-item/checkbox-field-item';
2
2
  export interface Cre8CheckboxFieldItemProps {
3
- /** The checkbox label */
4
- label?: string | undefined;
5
3
  /** Changes the component's treatment to represent an error state */
6
- isError?: boolean;
4
+ isError?: boolean | undefined;
7
5
  /** Visually hidden text that always signifies that this is an error for screen reader usage */
8
6
  errorText?: string;
7
+ /** Changes the component's treatment to represent a success state */
8
+ isSuccess?: boolean | undefined;
9
+ /** Disabled State */
10
+ disabled?: boolean | undefined;
11
+ /** Checked State */
12
+ checked?: boolean | undefined;
13
+ /** Checkbox FieldId */
14
+ fieldId?: string | undefined;
15
+ /** Checkbox fieldnote ariaDescribeBy */
16
+ ariaDescribedBy?: string | undefined;
17
+ /** Required property */
18
+ required?: boolean | undefined;
19
+ /** The checkbox label */
20
+ label?: string | undefined;
9
21
  /** The error field note that appears below the default field note */
10
22
  errorNote?: string | undefined;
11
- /** Changes the component's treatment to represent a success state */
12
- isSuccess?: boolean;
13
23
  /** Visually hidden text that always signifies that this is successful for screen reader usage */
14
24
  successText?: string;
15
25
  /** The success field note that appears below the default field note */
16
26
  successNote?: string | undefined;
17
- /** Disabled State */
18
- disabled?: boolean;
19
- /** Checked State */
20
- checked?: boolean;
21
- /** Checkbox FieldId */
22
- fieldId?: string;
23
27
  /** Checkbox FieldNote */
24
28
  fieldNote?: string | undefined;
25
- /** Checkbox fieldnote ariaDescribeBy */
26
- ariaDescribedBy?: string;
27
29
  /** Additional aria-describedby connection to id for additional success and error notes to be accessible */
28
30
  validationAriaDescribedBy?: string | undefined;
29
- /** Checkbox name */
30
- name?: string;
31
- /** Required property */
32
- required?: boolean;
33
31
  /** Checkbox fieldnote icon name */
34
32
  fieldNoteIconName?: string | undefined;
35
- /** The value of the form field. */
36
- value?: string;
37
- onChange?: (event: CustomEvent) => void;
38
33
  }
39
34
  /**
40
35
  * Checkbox Field Item is the combination of a checkbox input, label and field note.
41
36
  */
42
- export declare const Cre8CheckboxFieldItem: import("@lit/react").ReactWebComponent<Cre8CheckboxFieldItemElement, {
43
- onChange: string;
44
- }>;
37
+ export declare const Cre8CheckboxFieldItem: import("@lit/react").ReactWebComponent<Cre8CheckboxFieldItemElement, {}>;
45
38
  export default Cre8CheckboxFieldItem;
46
39
  //# sourceMappingURL=Cre8CheckboxFieldItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8CheckboxFieldItem.d.ts","sourceRoot":"","sources":["../../../components/CheckboxFieldItem/Cre8CheckboxFieldItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,IAAI,4BAA4B,EAAE,MAAM,yEAAyE,CAAC;AAGhJ,MAAM,WAAW,0BAA0B;IACzC,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+FAA+F;IAC/F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,wCAAwC;IACxC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2GAA2G;IAC3G,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS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WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,2GAA2G;IAC3G,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,0EAKhC,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
@@ -8,9 +8,6 @@ export const Cre8CheckboxFieldItem = createComponent({
8
8
  react: React,
9
9
  tagName: 'cre8-checkbox-field-item',
10
10
  elementClass: Cre8CheckboxFieldItemElement,
11
- events: {
12
- onChange: 'change'
13
- }
14
11
  });
15
12
  export default Cre8CheckboxFieldItem;
16
13
  //# sourceMappingURL=Cre8CheckboxFieldItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8CheckboxFieldItem.js","sourceRoot":"","sources":["../../../components/CheckboxFieldItem/Cre8CheckboxFieldItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,qBAAqB,IAAI,4BAA4B,EAAE,MAAM,yEAAyE,CAAC;AAChJ,OAAO,KAAK,MAAM,OAAO,CAAC;AAwC1B;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,eAAe,CAAC;IACnD,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,0BAA0B;IACnC,YAAY,EAAE,4BAA4B;IAC1C,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;KACnB;CACF,CAAC,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"Cre8CheckboxFieldItem.js","sourceRoot":"","sources":["../../../components/CheckboxFieldItem/Cre8CheckboxFieldItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,qBAAqB,IAAI,4BAA4B,EAAE,MAAM,yEAAyE,CAAC;AAChJ,OAAO,KAAK,MAAM,OAAO,CAAC;AAmC1B;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,eAAe,CAAC;IACnD,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,0BAA0B;IACnC,YAAY,EAAE,4BAA4B;CAE3C,CAAC,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
@@ -1,15 +1,23 @@
1
1
  import { Cre8DangerButton as Cre8DangerButtonElement } from '@tmorrow/cre8-wc/lib/components/danger-button/danger-button';
2
2
  export interface Cre8DangerButtonProps {
3
+ /** Disabled attribute */
4
+ disabled?: boolean | undefined;
5
+ /** Full width button */
6
+ fullWidth?: boolean | undefined;
7
+ /** * Changes styling to an active state with a spinning icon. * Adds accessibility treatment by: * announcing via voiceover when the loading success/error state via a aria-live region * setting `aria-disabled` * Disables click events / form submitting while allowing focus (for accessibility) */
8
+ loading?: boolean | undefined;
9
+ /** * Variant of the loading button that: * Removes loading spinner * Informs the SR user that the loading status is now complete, with visually hidden text in the live area */
10
+ loadingComplete?: boolean | undefined;
3
11
  /** The button text. Should be as short and simple as possible, ideally a maximum of 3 words. - Use Title Case for readability. - Should not include punctuation (exception: "Loading..."). - Should not be used as an indicator of what happens on the next page, or as a substitute for a progress meter. */
4
- text?: string | undefined;
12
+ text?: string;
5
13
  /** Style variant - **primary** renders the button used for primary actions. Presents highest visual priority. When grouped with other buttons, only one primary is allowed - **secondary** renders a secondary button. Presents a lower visual priority - **tertiary** renders a tertiary button. Presents the lowest visual priority. Should be used in limited amounts - consider if a link (`<a>`) would be more appropriate */
6
- variant?: "primary" | "secondary" | "tertiary" | undefined;
7
- /** Disabled attribute */
8
- disabled?: boolean;
14
+ variant?: any;
9
15
  /** Provide this property if you intend to use button styles for an anchor tag (`<a>`). This changes the component markup from `<button>` usage to `<a>` instead. */
10
16
  href?: string | undefined;
11
17
  /** Target attribute for a link if providing `href` to style a link as a button - **_blank** yields a link that opens in a new tab - **_self** yields a link that loads the URL into the same browsing context as the current one. This is the default behavior - **_parent** yields a link that loads the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as _self - **_top** yields a link that loads the URL into the top-level browsing context. If there is no parent, this behaves the same way as _self. */
12
- target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
18
+ target?: any;
19
+ /** Type of button. - **button** (default) button has no default behavior and does nothing unless provided some sort of client-side trigger - **submit** button for submitting form data to a server */
20
+ type?: any;
13
21
  /** Rel if this is an <a> element - this swaps <button> for <a> */
14
22
  rel?: string | undefined;
15
23
  /** SVG raw string if including an icon within a button. Must include the icon's position with `iconPostion`. This prop is used for <cre8-icon> */
@@ -19,27 +27,17 @@ export interface Cre8DangerButtonProps {
19
27
  /** flip is used for <cre8-icon> to set the icon in the correct direction */
20
28
  iconFlipDirection?: string | undefined;
21
29
  /** Icon position. Must include the name of the icon with `iconName` - **before** places the icon before the button text - **after** places the icon after the button text */
22
- iconPosition?: "before" | "after" | undefined;
30
+ iconPosition?: any;
23
31
  /** Size variants add another way to increase or decrease visual priority of a button. - **sm** shrinks the button typography and overall size from the default. Use when vertical space is constrained. - **lg** increases the button typography and overall size from the default. */
24
- size?: "sm" | "lg" | undefined;
32
+ size?: any;
25
33
  /** Visually hide button text. Text is still accessible to assistive technology. Use this for icon-only buttons for accessibility */
26
34
  hideText?: boolean | undefined;
27
- /** Full width button */
28
- fullWidth?: boolean;
29
- /** * Changes styling to an active state with a spinning icon. * Adds accessibility treatment by: * announcing via voiceover when the loading success/error state via a aria-live region * setting `aria-disabled` * Disables click events / form submitting while allowing focus (for accessibility) */
30
- loading?: boolean;
31
- /** * Variant of the loading button that: * Removes loading spinner * Informs the SR user that the loading status is now complete, with visually hidden text in the live area */
32
- loadingComplete?: boolean;
33
35
  /** Inverted colors Danger Button (onDark) */
34
36
  inverted?: boolean | undefined;
35
37
  /** Controls whether your loading status update to voiceover users will occur immediately (used for more urgently needed updates) using `assertive` or at the next convenient pause in their navigation using `polite`. */
36
- ariaLive?: "polite" | "assertive";
38
+ ariaLive?: any;
37
39
  /** Button aria expanded attribute */
38
40
  buttonAriaExpanded?: boolean | undefined;
39
- /** Type of button. - **button** (default) button has no default behavior and does nothing unless provided some sort of client-side trigger - **submit** button for submitting form data to a server */
40
- type?: "button" | "submit" | "reset";
41
- /** The value of the form field. */
42
- value?: string;
43
41
  }
44
42
  /**
45
43
  * The size and state of buttons on the screen serve as visual cues for the user
@@ -1 +1 @@
1
- {"version":3,"file":"Cre8DangerButton.d.ts","sourceRoot":"","sources":["../../../components/DangerButton/Cre8DangerButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,6DAA6D,CAAC;AAG1H,MAAM,WAAW,qBAAqB;IACpC,8SAA8S;IAC9S,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,uaAAua;IACva,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;IAC3D,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oKAAoK;IACpK,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,kjBAAkjB;IACljB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAC7D,kEAAkE;IAClE,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,kJAAkJ;IAClJ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,+EAA+E;IAC/E,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,8KAA8K;IAC9K,YAAY,CAAC,EAAE,QAAQ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;IAC9C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,oBAAoB;IAC7B,YAAY,EAAE,uBAAuB;CAEtC,CAAC,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"Cre8DangerButton.js","sourceRoot":"","sources":["../../../components/DangerButton/Cre8DangerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,6DAA6D,CAAC;AAC1H,OAAO,KAAK,MAAM,OAAO,CAAC;AA2C1B;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC;IAC9C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,oBAAoB;IAC7B,YAAY,EAAE,uBAAuB;CAEtC,CAAC,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -1,55 +1,51 @@
1
1
  import { Cre8DatePicker as Cre8DatePickerElement } from '@tmorrow/cre8-wc/lib/components/date-picker/date-picker';
2
2
  export interface Cre8DatePickerProps {
3
3
  /** Quick Shortcuts Variant */
4
- hasShortcuts?: boolean;
4
+ hasShortcuts?: boolean | undefined;
5
5
  /** Autocomplete attribute that allows input to expect certain types of information. Note: autocomplete is supported by most browsers, but the suggested 'completions' are also sourced from those browsers. Values come from past user stored data from past interactions in that browser, such as: 1. From past values entered by the user, but they may also come from pre-configured values. For instance, a browser might let the user save their name, address, phone number, and email addresses for autocomplete purposes. 2. Perhaps the browser offers the ability to save encrypted credit card information, for autocompletion following a an authentication procedure. See: [MDN web docs_](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) NOTE:: In order to provide autocompletion, user-agents might require input, select, textarea elements to: 1. Have a {{name}} and/or {{id}} attribute 2. Be descendants of a form element 3. The form to have a [submit button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit) */
6
- autocomplete?: string;
6
+ autocomplete?: any;
7
7
  /** Pattern attribute defines a regular expression to validate against input */
8
- pattern?: string;
8
+ pattern?: string | undefined;
9
+ /** Type variants - **text** renders a standard text input - **email** renders a text input for an email format - **number** renders an input for number values only - **url** renders an input for urls only - **tel** renders an input for telephone number values only */
10
+ type?: any;
9
11
  /** The placeholder text that appears inside the input */
10
- placeholder?: string;
12
+ placeholder?: string | undefined;
11
13
  /** The required label that appears above the input */
12
14
  label?: string;
13
- /** The name property on the input */
14
- name?: string;
15
15
  /** The unique id of the field <br/><br/> _*This property is dynamically set_ */
16
- fieldId?: string;
16
+ fieldId?: string | undefined;
17
17
  /** The text that displays below in text field input */
18
- fieldNote?: string;
19
- /** Controls how the voiceover will experience the new information when field note changes, immediately (used for more urgently needed updates) using `assertive` or at the next convenient pause in their navigation using `polite`. */
20
- ariaLive?: "polite" | "assertive";
18
+ fieldNote?: string | undefined;
21
19
  /** Used to connect the field note in text field to the text menu for accessibility */
22
- ariaDescribedBy?: string;
20
+ ariaDescribedBy?: string | undefined;
23
21
  /** The required attribute on the input */
24
- required?: boolean;
22
+ required?: boolean | undefined;
25
23
  /** The disabled attribute on the input */
26
- disabled?: boolean;
24
+ disabled?: boolean | undefined;
27
25
  /** Changes the component's treatment to represent an error state */
28
- isError?: boolean;
26
+ isError?: boolean | undefined;
29
27
  /** Visually hidden text that always signifies that this is an error for screen reader usage */
30
28
  errorText?: string;
31
29
  /** The error field note that appears below the default field note */
32
- errorNote?: string;
30
+ errorNote?: string | undefined;
33
31
  /** The max attribute defines the maximum value that is acceptable and valid for the input containing the attribute. */
34
- max?: string | number;
32
+ max?: string | undefined;
35
33
  /** The min attribute defines the minimum value that is acceptable and valid for the input containing the attribute. */
36
- min?: string | number;
34
+ min?: string | undefined;
37
35
  /** The maxlength is an integer above 0 that indicates the maximum allowed characters to be entered. When using the maxlength prop, you must also use the "required" prop to provide Constraint Validation on the input field. This allows users to know why the input they attempted didn't render in the input field. see [MDN maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength#constraint_validation) */
38
- maxlength?: string;
36
+ maxlength?: number | undefined;
39
37
  /** Additional aria-describedby connection to id for additional success and error notes to be accessible */
40
- validationAriaDescribedBy?: string;
38
+ validationAriaDescribedBy?: string | undefined;
41
39
  /** Changes the component's treatment to represent a success state */
42
- isSuccess?: boolean;
40
+ isSuccess?: boolean | undefined;
43
41
  /** Visually hidden text that always signifies that this is successful for screen reader usage */
44
42
  successText?: string;
45
43
  /** Readonly attribute */
46
- readonly?: boolean;
44
+ readonly?: boolean | undefined;
47
45
  /** The success field note that appears below the default field note */
48
- successNote?: string;
49
- /** The type of the form field. For Date Picker, this is always 'date'. */
50
- type?: string;
51
- /** The value of the form field. */
52
- value?: string;
46
+ successNote?: string | undefined;
47
+ /** Controls how the voiceover will experience the new information when field note changes, immediately (used for more urgently needed updates) using `assertive` or at the next convenient pause in their navigation using `polite`. */
48
+ ariaLive?: any;
53
49
  }
54
50
  /**
55
51
  * The Date Picker component renders a form group with label, control, help text and validation styling much