revotech-ui-kit 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. package/dist/revotech-ui-kit.js +2766 -1145
  2. package/dist/revotech-ui-kit.umd.cjs +745 -144
  3. package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -0
  4. package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -0
  5. package/dist/src/assets/icons/circle-check.icon.d.ts +1 -0
  6. package/dist/src/assets/icons/circle-x.icon.d.ts +1 -0
  7. package/dist/src/assets/icons/circle.icon.d.ts +1 -0
  8. package/dist/src/assets/icons/help-circle.icon.d.ts +1 -0
  9. package/dist/src/assets/icons/index.d.ts +8 -0
  10. package/dist/src/assets/icons/radio-group.icon.d.ts +1 -0
  11. package/dist/src/assets/icons/radio.icon.d.ts +1 -0
  12. package/dist/src/components/atoms/accordion/accordion-content.d.ts +12 -0
  13. package/dist/src/components/atoms/accordion/accordion-item.d.ts +22 -0
  14. package/dist/src/components/atoms/accordion/accordion-trigger.d.ts +17 -0
  15. package/dist/src/components/atoms/accordion/accordion.atoms.d.ts +23 -0
  16. package/dist/src/components/atoms/accordion/accordion.defs.d.ts +10 -0
  17. package/dist/{components/atoms/button/button.stories.d.ts → src/components/atoms/accordion/accordion.stories.d.ts} +1 -1
  18. package/dist/src/components/atoms/button/button.atom.d.ts +2 -0
  19. package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +1 -1
  20. package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-input.d.ts +5 -0
  21. package/dist/src/components/atoms/{combo-box → combobox}/combo-box-item.d.ts +5 -0
  22. package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-list.d.ts +5 -0
  23. package/dist/src/components/atoms/{combo-box → combobox}/combo-box.atom.d.ts +3 -0
  24. package/dist/src/components/atoms/command/command-item.atom.d.ts +4 -3
  25. package/dist/src/components/atoms/command/command.stories.d.ts +3 -2
  26. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-checkbox-Item.d.ts → context-menu/context-menu-checkbox-Item.d.ts} +1 -1
  27. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-content.d.ts → context-menu/context-menu-content.d.ts} +3 -3
  28. package/dist/{components/atoms/command/command-group.atom.d.ts → src/components/atoms/context-menu/context-menu-group.d.ts} +1 -1
  29. package/dist/{components/atoms/command/command-item.atom.d.ts → src/components/atoms/context-menu/context-menu-item.d.ts} +1 -1
  30. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-radio-item.d.ts → context-menu/context-menu-radio-item.d.ts} +1 -1
  31. package/dist/{components/atoms/command/command-separator.atom.d.ts → src/components/atoms/context-menu/context-menu-seperator.d.ts} +1 -1
  32. package/dist/{components/atoms/card/card-header.d.ts → src/components/atoms/context-menu/context-menu-shortcut.d.ts} +1 -1
  33. package/dist/src/components/atoms/context-menu/context-menu.atom.d.ts +34 -0
  34. package/dist/src/components/atoms/context-menu/contextMenu.stories.d.ts +5 -0
  35. package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu.atom.d.ts +1 -0
  36. package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +2 -0
  37. package/dist/src/components/atoms/index.d.ts +9 -2
  38. package/dist/src/components/atoms/input/input.styles.d.ts +1 -1
  39. package/dist/src/components/atoms/popover/popover-content.d.ts +2 -1
  40. package/dist/src/components/atoms/popover/popover-trigger.d.ts +2 -2
  41. package/dist/src/components/atoms/popover/popover.style.d.ts +4 -0
  42. package/dist/{components/atoms/checkbox/checkbox.atom.d.ts → src/components/atoms/radio-group/radio-group-item.d.ts} +5 -7
  43. package/dist/src/components/atoms/radio-group/radio-group.atom.d.ts +16 -0
  44. package/dist/src/components/atoms/radio-group/radio-group.stories.d.ts +5 -0
  45. package/dist/src/components/atoms/radio-group/radio-group.types.d.ts +2 -0
  46. package/dist/src/components/atoms/sample-demo/sample-demo.d.ts +21 -0
  47. package/dist/src/components/atoms/sample-demo/sample.style.d.ts +4 -0
  48. package/dist/src/components/atoms/sample-demo/sample.type.d.ts +3 -0
  49. package/dist/{components/atoms/combo-box/combo-box-item.d.ts → src/components/atoms/select/select-item.d.ts} +1 -1
  50. package/dist/{components/atoms/card/card-footer.d.ts → src/components/atoms/select/select-label.d.ts} +1 -1
  51. package/dist/{components/atoms/card/card-content.d.ts → src/components/atoms/select/select-list.d.ts} +3 -1
  52. package/dist/{components/atoms/command/command-empty.atom.d.ts → src/components/atoms/select/select-seperator.d.ts} +1 -1
  53. package/dist/{components/atoms/combo-box/combo-box.atom.d.ts → src/components/atoms/select/select.atom.d.ts} +12 -6
  54. package/dist/src/components/atoms/select/select.stories.d.ts +6 -0
  55. package/dist/src/components/atoms/seperator/separator.atom.d.ts +14 -0
  56. package/dist/src/components/atoms/seperator/separator.defs.d.ts +10 -0
  57. package/dist/{components/atoms/dialog/dialog.stories.d.ts → src/components/atoms/seperator/separator.stories.d.ts} +3 -2
  58. package/dist/src/components/atoms/switch/switch.atom.d.ts +14 -0
  59. package/dist/src/components/atoms/switch/switch.stories.d.ts +5 -0
  60. package/dist/src/components/atoms/switch/switch.type.d.ts +4 -0
  61. package/dist/src/components/atoms/toggle/toggle.atom.d.ts +1 -1
  62. package/dist/{components/atoms/toggle/defs.d.ts → src/components/atoms/toggle/toggle.defs.d.ts} +5 -5
  63. package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +6 -0
  64. package/dist/src/components/molecules/index.d.ts +7 -7
  65. package/dist/src/components/molecules/tabs/tab-contents.d.ts +13 -0
  66. package/dist/src/components/molecules/tabs/tab-list.d.ts +15 -0
  67. package/dist/src/components/molecules/tabs/tab-trigger.d.ts +18 -0
  68. package/dist/src/components/molecules/tabs/tab.molecules.d.ts +15 -0
  69. package/dist/src/components/molecules/tabs/tab.stories.d.ts +15 -0
  70. package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +1 -1
  71. package/dist/src/components/molecules/toggle-group/{defs.d.ts → toggle-group.defs.d.ts} +7 -7
  72. package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +1 -1
  73. package/dist/src/index.d.ts +2 -2
  74. package/package.json +7 -11
  75. package/dist/assets/icons/arrows.icon.d.ts +0 -1
  76. package/dist/assets/icons/index.d.ts +0 -3
  77. package/dist/assets/icons/search.icon.d.ts +0 -1
  78. package/dist/assets/icons/tick.icon.d.ts +0 -1
  79. package/dist/components/atoms/alert/alert-description.d.ts +0 -6
  80. package/dist/components/atoms/alert/alert-title.d.ts +0 -6
  81. package/dist/components/atoms/alert/alert.atom.d.ts +0 -23
  82. package/dist/components/atoms/alert/alert.stories.d.ts +0 -6
  83. package/dist/components/atoms/alert/alert.styles.d.ts +0 -4
  84. package/dist/components/atoms/alert/alert.types.d.ts +0 -1
  85. package/dist/components/atoms/badge/badge.atom.d.ts +0 -17
  86. package/dist/components/atoms/badge/badge.stories.d.ts +0 -6
  87. package/dist/components/atoms/badge/badge.style.d.ts +0 -3
  88. package/dist/components/atoms/badge/badge.type.d.ts +0 -1
  89. package/dist/components/atoms/button/button.atom.d.ts +0 -23
  90. package/dist/components/atoms/button/button.style.d.ts +0 -4
  91. package/dist/components/atoms/button/button.type.d.ts +0 -3
  92. package/dist/components/atoms/card/card-description.d.ts +0 -6
  93. package/dist/components/atoms/card/card-title.d.ts +0 -6
  94. package/dist/components/atoms/card/card.atom.d.ts +0 -22
  95. package/dist/components/atoms/card/card.stories.d.ts +0 -6
  96. package/dist/components/atoms/checkbox/checkbox.stories.d.ts +0 -7
  97. package/dist/components/atoms/checkbox/checkbox.style.d.ts +0 -2
  98. package/dist/components/atoms/checkbox/checkbox.type.d.ts +0 -21
  99. package/dist/components/atoms/combo-box/combo-box.stories.d.ts +0 -6
  100. package/dist/components/atoms/command/command-input.atom.d.ts +0 -11
  101. package/dist/components/atoms/command/command-list.atom.d.ts +0 -7
  102. package/dist/components/atoms/command/command.atom.d.ts +0 -7
  103. package/dist/components/atoms/command/command.stories.d.ts +0 -5
  104. package/dist/components/atoms/dialog/dialog-close.d.ts +0 -13
  105. package/dist/components/atoms/dialog/dialog-content.d.ts +0 -9
  106. package/dist/components/atoms/dialog/dialog-footer.d.ts +0 -6
  107. package/dist/components/atoms/dialog/dialog-header.d.ts +0 -8
  108. package/dist/components/atoms/dialog/dialog-overly.d.ts +0 -6
  109. package/dist/components/atoms/dialog/dialog-trigger.d.ts +0 -9
  110. package/dist/components/atoms/dialog/dialog.atom.d.ts +0 -25
  111. package/dist/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +0 -7
  112. package/dist/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +0 -2
  113. package/dist/components/atoms/index.d.ts +0 -19
  114. package/dist/components/atoms/input/input.atom.d.ts +0 -22
  115. package/dist/components/atoms/input/input.stories.d.ts +0 -6
  116. package/dist/components/atoms/input/input.styles.d.ts +0 -1
  117. package/dist/components/atoms/input/input.type.d.ts +0 -21
  118. package/dist/components/atoms/label/label.atom.d.ts +0 -17
  119. package/dist/components/atoms/label/label.stories.d.ts +0 -6
  120. package/dist/components/atoms/label/label.style.d.ts +0 -1
  121. package/dist/components/atoms/popover/popover-content.d.ts +0 -12
  122. package/dist/components/atoms/popover/popover-trigger.d.ts +0 -10
  123. package/dist/components/atoms/popover/popover.atom.d.ts +0 -19
  124. package/dist/components/atoms/popover/popover.stories.d.ts +0 -5
  125. package/dist/components/atoms/popover/popover.style.d.ts +0 -5
  126. package/dist/components/atoms/popover/popover.types.d.ts +0 -2
  127. package/dist/components/atoms/textarea/textarea.atom.d.ts +0 -17
  128. package/dist/components/atoms/textarea/textarea.stories.d.ts +0 -5
  129. package/dist/components/atoms/textarea/textarea.styles.d.ts +0 -1
  130. package/dist/components/atoms/textarea/textarea.type.d.ts +0 -11
  131. package/dist/components/atoms/toggle/toggle.atom.d.ts +0 -20
  132. package/dist/components/atoms/toggle/toggle.stories.d.ts +0 -6
  133. package/dist/components/atoms/toggle/toggle.style.d.ts +0 -4
  134. package/dist/components/index.d.ts +0 -2
  135. package/dist/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
  136. package/dist/components/molecules/index.d.ts +0 -7
  137. package/dist/components/molecules/toggle-group/defs.d.ts +0 -37
  138. package/dist/components/molecules/toggle-group/toggle-group-item.d.ts +0 -18
  139. package/dist/components/molecules/toggle-group/toggle-group.molecules.d.ts +0 -19
  140. package/dist/components/molecules/toggle-group/toggle-group.stories.d.ts +0 -5
  141. package/dist/components/molecules/toggle-group/toggle-group.style.d.ts +0 -4
  142. package/dist/helpers/base-element.d.ts +0 -11
  143. package/dist/helpers/index.d.ts +0 -3
  144. package/dist/helpers/mouse-conroller.helper.d.ts +0 -15
  145. package/dist/helpers/style.helpers.d.ts +0 -3
  146. package/dist/index.d.ts +0 -3
  147. package/dist/interfaces/actionable.interface.d.ts +0 -6
  148. package/dist/interfaces/atomic.interface.d.ts +0 -6
  149. package/dist/interfaces/changeable.interface.d.ts +0 -8
  150. package/dist/interfaces/child-support-atomic.interface.d.ts +0 -5
  151. package/dist/interfaces/index.d.ts +0 -6
  152. package/dist/interfaces/intractable.interface.d.ts +0 -6
  153. package/dist/interfaces/variant.interface.d.ts +0 -3
  154. package/dist/lib/index.d.ts +0 -0
  155. package/dist/lib/next/next.lib.d.ts +0 -0
  156. package/dist/lib/react/react.lib.d.ts +0 -3
  157. package/dist/lib/tw-styles.d.ts +0 -1
  158. package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +0 -9
  159. package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +0 -10
  160. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +0 -11
  161. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +0 -13
  162. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +0 -10
  163. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +0 -6
  164. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +0 -31
  165. package/dist/src/components/atoms/toggle/defs.d.ts +0 -27
  166. package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +0 -8
  167. package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
  168. package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +0 -7
  169. package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +0 -7
  170. package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +0 -7
  171. package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +0 -7
  172. package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +0 -7
  173. package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +0 -7
  174. package/dist/src/components/molecules/breadCrumb/breadcrumb.styles.d.ts +0 -6
  175. package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
  176. package/dist/styles/index.d.ts +0 -1
  177. package/dist/styles/tw.styles.d.ts +0 -1
  178. package/dist/wc-ui-app.d.ts +0 -7
  179. /package/dist/{components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts → src/components/atoms/accordion/accordion.styles.d.ts} +0 -0
  180. /package/dist/src/components/atoms/{combo-box → combobox}/combo-box.stories.d.ts +0 -0
  181. /package/dist/src/components/atoms/{dropdownMenu/dropdownMenu.style.d.ts → context-menu/contextMenu.style.d.ts} +0 -0
  182. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-checkbox-Item.d.ts +0 -0
  183. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-content.d.ts +0 -0
  184. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-group.d.ts +0 -0
  185. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-item.d.ts +0 -0
  186. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-radio-item.d.ts +0 -0
  187. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-seperator.d.ts +0 -0
  188. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-shortcut.d.ts +0 -0
  189. /package/dist/src/components/atoms/{dropdownMenu → dropdown-menu}/dropdownMenu.stories.d.ts +0 -0
  190. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-ellipsis.d.ts +0 -0
  191. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-item.d.ts +0 -0
  192. /package/dist/{components/molecules/breadCrumb/Breadcrumb-link.d.ts → src/components/molecules/breadcrumb/breadcrumb-link.d.ts} +0 -0
  193. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-list.d.ts +0 -0
  194. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-separator.d.ts +0 -0
  195. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-text.d.ts +0 -0
  196. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.molecules.d.ts +0 -0
  197. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.styles.d.ts +0 -0
@@ -0,0 +1 @@
1
+ export declare function arrowUpCircleIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function chorvenDownIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function circleCheckIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function circleXIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function circleIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function helpCircleIcon(): import('lit-html').TemplateResult<2>;
@@ -1,3 +1,11 @@
1
1
  export * from './arrows.icon';
2
2
  export * from './tick.icon';
3
3
  export * from './search.icon';
4
+ export * from './help-circle.icon';
5
+ export * from './circle.icon';
6
+ export * from './arrow-up-circle.icon';
7
+ export * from './circle-check.icon';
8
+ export * from './circle-x.icon';
9
+ export * from './radio.icon';
10
+ export * from './chorven-down.icon';
11
+ export * from './radio-group.icon';
@@ -0,0 +1 @@
1
+ export declare function radioGroupIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function radioIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1,12 @@
1
+ import { LitElement, PropertyValues } from 'lit-element';
2
+ import { Accordion } from './accordion.atoms';
3
+
4
+ declare class AccordionContent extends LitElement {
5
+ value: string;
6
+ selectedValue: string;
7
+ static styles: import('lit-element').CSSResult[];
8
+ get _accordion(): Accordion | null;
9
+ protected updated(_changedProperties: PropertyValues): void;
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
12
+ export { AccordionContent };
@@ -0,0 +1,22 @@
1
+ import { PropertyValues } from 'lit-element';
2
+ import { BaseElement } from '../../../helpers';
3
+ import { Accordion } from './accordion.atoms';
4
+
5
+ declare class AccordionItem extends BaseElement {
6
+ value: string;
7
+ tabindex: number;
8
+ static styles: import('lit-element').CSSResult[];
9
+ protected getAttributesToExclude(): string[];
10
+ connectedCallback(): void;
11
+ protected firstUpdated(_changedProperties: PropertyValues): void;
12
+ disconnectedCallback(): void;
13
+ get _accordion(): Accordion | null;
14
+ handleClick: (event: MouseEvent) => void;
15
+ render(): import('lit-html').TemplateResult<1>;
16
+ }
17
+ export { AccordionItem };
18
+ declare global {
19
+ interface HTMLElementTagNameMap {
20
+ 'rtg-accordion-item': AccordionItem;
21
+ }
22
+ }
@@ -0,0 +1,17 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ declare class AccordionTrigger extends BaseElement {
4
+ defaultValue: string;
5
+ value: string;
6
+ onClickCallback?: (tabValue: string) => void;
7
+ static styles: import('lit-element').CSSResult[];
8
+ connectedCallback(): void;
9
+ protected getAttributesToExclude(): string[];
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
12
+ export { AccordionTrigger };
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-accordion-trigger': AccordionTrigger;
16
+ }
17
+ }
@@ -0,0 +1,23 @@
1
+ import { BaseElement } from '../../../helpers';
2
+ import { AccordionItem } from './accordion-item';
3
+ import { AccordionTrigger } from './accordion-trigger';
4
+ import { AccordionContent } from './accordion-content';
5
+ import { ACCORDION_GROUP_TYPE } from './accordion.defs';
6
+
7
+ declare class Accordion extends BaseElement {
8
+ static styles: import('lit').CSSResult[];
9
+ type: ACCORDION_GROUP_TYPE;
10
+ selectedItems: string[];
11
+ protected getAttributesToExclude(): string[];
12
+ connectedCallback(): void;
13
+ disconnectedCallback(): void;
14
+ setSelectedItems(item: string): void;
15
+ raiseEvent(value: string): void;
16
+ render(): import('lit-html').TemplateResult<1>;
17
+ }
18
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
19
+ declare global {
20
+ interface HTMLElementTagNameMap {
21
+ 'rtg-accordion': Accordion;
22
+ }
23
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum ACCORDION_GROUP_TYPE {
2
+ /**
3
+ * @multiple Type
4
+ */
5
+ MULTIPLE = "multiple",
6
+ /**
7
+ * @single Type
8
+ */
9
+ SINGLE = "single"
10
+ }
@@ -3,4 +3,4 @@ import { Meta, StoryObj } from '@storybook/web-components';
3
3
  declare const meta: Meta;
4
4
  export default meta;
5
5
  type Story = StoryObj;
6
- export declare const Buttons: Story;
6
+ export declare const DefaultAccordion: Story;
@@ -11,6 +11,8 @@ export declare class Button extends BaseElement {
11
11
  type: buttonType.ButtonType;
12
12
  variant: buttonType.ButtonVariant;
13
13
  size: buttonType.ButtonSize;
14
+ externalClass: string;
15
+ isCustomClass: boolean;
14
16
  static styles: import('lit').CSSResult[];
15
17
  private handleClick;
16
18
  protected getAttributesToExclude(): string[];
@@ -2,6 +2,6 @@ import { Meta, StoryFn } from '@storybook/web-components';
2
2
 
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- export declare const CheckboxWithReuired: StoryFn;
5
+ export declare const CheckboxWithRequired: StoryFn;
6
6
  export declare const Checkbox: StoryFn;
7
7
  export declare const CheckboxWithValue: StoryFn;
@@ -7,3 +7,8 @@ export declare class ComboBoxInput extends LitElement {
7
7
  static styles: import('lit').CSSResult[];
8
8
  render(): import('lit-html').TemplateResult<1>;
9
9
  }
10
+ declare global {
11
+ interface HTMLElementTagNameMap {
12
+ 'rtg-combo-box-input': ComboBoxInput;
13
+ }
14
+ }
@@ -11,3 +11,8 @@ export declare class ComboBoxItem extends LitElement {
11
11
  static styles: import('lit').CSSResult[];
12
12
  render(): import('lit-html').TemplateResult<1>;
13
13
  }
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ 'rtg-combo-box-item': ComboBoxItem;
17
+ }
18
+ }
@@ -8,3 +8,8 @@ export declare class ComboBoxList extends LitElement {
8
8
  get _popover(): ComboBox | null;
9
9
  render(): import('lit-html').TemplateResult<1>;
10
10
  }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'rtg-combo-box-list': ComboBoxList;
14
+ }
15
+ }
@@ -16,6 +16,9 @@ declare class ComboBox extends LitElement {
16
16
  handleSearch(event: Event): void;
17
17
  handleKeyDown(event: KeyboardEvent): void;
18
18
  handleMouseOver(event: Event, index: number): void;
19
+ connectedCallback(): void;
20
+ disconnectedCallback(): void;
21
+ handleClickOutside(e: MouseEvent): void;
19
22
  updateFocus(): void;
20
23
  render(): import('lit-html').TemplateResult<1>;
21
24
  }
@@ -1,13 +1,14 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
3
  export declare class CommandItem extends LitElement {
4
- _id: string;
5
- _hidden: string;
6
4
  private static _counter;
7
5
  static styles: import('lit').CSSResult[];
6
+ selected: boolean;
7
+ _id: string;
8
+ _hidden: string;
9
+ onSelect: () => void;
8
10
  private get identifier();
9
11
  get value(): string;
10
- selected: boolean;
11
12
  private handleMouseEvent;
12
13
  render(): import('lit-html').TemplateResult<1>;
13
14
  }
@@ -1,5 +1,6 @@
1
- import { Meta } from '@storybook/web-components';
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
2
 
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- export declare const Command: () => import('lit-html').TemplateResult<1>;
5
+ export declare const Command: StoryFn;
6
+ export declare const CommandWithPopover: StoryFn;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class DropdownMenuCheckboxItem extends LitElement {
3
+ export declare class ContextMenuCheckboxItem extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,11 +1,11 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
- import { DropdownMenu } from './dropdown-menu.atom';
2
+ import { ContextMenu } from './context-menu.atom';
3
3
 
4
- export declare class DropdownMenuContent extends LitElement {
4
+ export declare class ContextMenuContent extends LitElement {
5
5
  static styles: import('lit').CSSResult[];
6
6
  state: string;
7
7
  isOpen: boolean;
8
- get _dropdownMenu(): DropdownMenu | null;
8
+ get _contextMenu(): ContextMenu | null;
9
9
  connectedCallback(): void;
10
10
  disconnectedCallback(): void;
11
11
  updated(changedProps: PropertyValues): void;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CommandGroup extends LitElement {
3
+ export declare class ContextMenuGroup extends LitElement {
4
4
  heading: string;
5
5
  _id: string;
6
6
  _hidden: string;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CommandItem extends LitElement {
3
+ export declare class ContextMenuItem extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class DropdownMenuRadioItem extends LitElement {
3
+ export declare class ContextMenuRadioItem extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CommandSeparator extends LitElement {
3
+ export declare class ContextMenuSeparator extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CardHeader extends LitElement {
3
+ export declare class ContextMenuShortcut extends LitElement {
4
4
  static styles: import('lit').CSSResult[];
5
5
  render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -0,0 +1,34 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { ContextMenuContent } from './context-menu-content';
3
+ import { ContextMenuCheckboxItem } from './context-menu-checkbox-Item';
4
+ import { ContextMenuGroup } from './context-menu-group';
5
+ import { ContextMenuItem } from './context-menu-item';
6
+ import { ContextMenuRadioItem } from './context-menu-radio-item';
7
+ import { ContextMenuSeparator } from './context-menu-seperator';
8
+ import { ContextMenuShortcut } from './context-menu-shortcut';
9
+
10
+ declare class ContextMenu extends LitElement {
11
+ static styles: import('lit').CSSResult[];
12
+ isOpen: boolean;
13
+ connectedCallback(): void;
14
+ disconnectedCallback(): void;
15
+ toggleDropdown(e: MouseEvent): void;
16
+ handleClickOutside: (e: MouseEvent) => void;
17
+ private get _content();
18
+ protected updated(_changedProperties: PropertyValues): void;
19
+ private _handleRadioSelected;
20
+ render(): import('lit-html').TemplateResult<1>;
21
+ }
22
+ export { ContextMenu, ContextMenuContent, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, };
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ 'rtg-context-menu': ContextMenu;
26
+ 'rtg-context-menu-checkbox-item': ContextMenuCheckboxItem;
27
+ 'rtg-context-menu-group': ContextMenuGroup;
28
+ 'rtg-context-menu-content': ContextMenuContent;
29
+ 'rtg-context-menu-item': ContextMenuItem;
30
+ 'rtg-context-menu-radio-item': ContextMenuRadioItem;
31
+ 'rtg-context-menu-separator': ContextMenuSeparator;
32
+ 'rtg-context-menu-shortcut': ContextMenuShortcut;
33
+ }
34
+ }
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const ContextMenu: StoryFn;
@@ -15,6 +15,7 @@ declare class DropdownMenu extends LitElement {
15
15
  handleClickOutside: (e: MouseEvent) => void;
16
16
  private get _content();
17
17
  protected updated(_changedProperties: PropertyValues): void;
18
+ private _handleRadioSelected;
18
19
  render(): import('lit-html').TemplateResult<1>;
19
20
  }
20
21
  export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, };
@@ -0,0 +1,2 @@
1
+ export declare const dropdownMenuRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
2
+ export declare const dropdownMenuContentStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -14,6 +14,13 @@ export * from './card/card.atom';
14
14
  export * from './popover/popover.atom';
15
15
  export * from './alert/alert.atom';
16
16
  export * from './badge/badge.atom';
17
- export * from './combo-box/combo-box.atom';
18
- export * from './dropdownMenu/dropdown-menu.atom';
17
+ export * from './combobox/combo-box.atom';
18
+ export * from './dropdown-menu/dropdown-menu.atom';
19
19
  export * from './toggle/toggle.atom';
20
+ export * from './context-menu/context-menu.atom';
21
+ export * from './select/select.atom';
22
+ export * from './switch/switch.atom';
23
+ export * from './radio-group/radio-group.atom';
24
+ export * from './accordion/accordion.atoms';
25
+ export * from './seperator/separator.atom';
26
+ export * from './sample-demo/sample-demo';
@@ -1 +1 @@
1
- export declare const inputStyles = "flex h-8 w-full rounded-sm border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";
1
+ export declare const inputStyles = "flex h-8 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";
@@ -3,8 +3,9 @@ import { Popover } from './popover.atom';
3
3
 
4
4
  export declare class PopoverContent extends LitElement {
5
5
  static styles: import('lit').CSSResult[];
6
- get _popover(): Popover | null;
6
+ enableDefaultStyle: boolean;
7
7
  side: 'bottom' | 'left' | 'right' | 'top';
8
+ get _popover(): Popover | null;
8
9
  private handleClickOutside;
9
10
  protected firstUpdated(_changedProperties: PropertyValues): void;
10
11
  protected updated(_changedProperties: PropertyValues): void;
@@ -3,8 +3,8 @@ import { Popover } from './popover.atom';
3
3
 
4
4
  export declare class PopoverTrigger extends LitElement {
5
5
  static styles: import('lit').CSSResult[];
6
- handleClick: () => void;
7
- protected firstUpdated(_changedProperties: PropertyValues): void;
8
6
  get _popover(): Popover | null;
7
+ protected firstUpdated(_changedProperties: PropertyValues): void;
8
+ handleClick: () => void;
9
9
  render(): import('lit-html').TemplateResult<1>;
10
10
  }
@@ -3,3 +3,7 @@ export declare const popoverContentStyle: (props?: ({
3
3
  state?: "open" | "closed" | null | undefined;
4
4
  side?: "bottom" | "left" | "right" | "top" | null | undefined;
5
5
  } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
6
+ export declare const popoverContentWithoutStyle: (props?: ({
7
+ state?: "open" | "closed" | null | undefined;
8
+ side?: "bottom" | "left" | "right" | "top" | null | undefined;
9
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -1,19 +1,17 @@
1
1
  import { LitElement } from 'lit';
2
- import { CheckboxProperties } from './checkbox.type';
3
2
 
4
- export declare class Checkbox extends LitElement implements CheckboxProperties {
5
- disabled: boolean;
3
+ export declare class RadioGroupItem extends LitElement {
6
4
  checked: boolean;
7
- type: string;
5
+ tabindex: number;
8
6
  value: string;
9
- required: boolean;
7
+ id: string;
8
+ state: string;
10
9
  static styles: import('lit').CSSResult[];
11
10
  private _onClick;
12
- click(): void;
13
11
  render(): import('lit-html').TemplateResult<1>;
14
12
  }
15
13
  declare global {
16
14
  interface HTMLElementTagNameMap {
17
- 'rtg-checkbox': Checkbox;
15
+ 'rtg-radio-group-item': RadioGroupItem;
18
16
  }
19
17
  }
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+ import { RadioGroupItem } from './radio-group-item';
3
+
4
+ declare class RadioGroup extends LitElement {
5
+ static styles: import('lit').CSSResult[];
6
+ connectedCallback(): void;
7
+ private _handleRadioSelected;
8
+ render(): import('lit-html').TemplateResult<1>;
9
+ }
10
+ export { RadioGroupItem, RadioGroup };
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'rtg-radio-group': RadioGroup;
14
+ 'rtg-radio-group-item': RadioGroupItem;
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const RadioGroup: StoryFn;
@@ -0,0 +1,2 @@
1
+ export declare const STATE_CHECK = "checked";
2
+ export declare const STATE_UNCHECK = "unChecked";
@@ -0,0 +1,21 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ import * as sampleType from './sample.type';
4
+ export declare class SampleDemo extends LitElement {
5
+ static buttonVariants: (props?: ({
6
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
7
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
9
+ click: () => void;
10
+ disabled: boolean;
11
+ isCustomClass: boolean;
12
+ variant: sampleType.SampleVariant;
13
+ size: sampleType.SampleSize;
14
+ static styles: import('lit').CSSResult[];
15
+ render(): import('lit-html').TemplateResult<1>;
16
+ }
17
+ declare global {
18
+ interface HTMLElementTagNameMap {
19
+ 'rtg-sample-demo': SampleDemo;
20
+ }
21
+ }
@@ -0,0 +1,4 @@
1
+ export declare const demoStyle: (props?: ({
2
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
3
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
4
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1,3 @@
1
+ export type SampleVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
2
+ export type SampleSize = 'default' | 'sm' | 'lg' | 'icon';
3
+ export type SampleType = 'button' | 'submit' | 'reset' | 'menu';
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class ComboBoxItem extends LitElement {
3
+ export declare class SelectItem extends LitElement {
4
4
  key: string;
5
5
  searchText: string;
6
6
  value: string;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CardFooter extends LitElement {
3
+ export declare class SelectLabel extends LitElement {
4
4
  static styles: import('lit').CSSResult[];
5
5
  render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -1,6 +1,8 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CardContent extends LitElement {
3
+ export declare class SelectList extends LitElement {
4
4
  static styles: import('lit').CSSResult[];
5
+ state: string;
6
+ isOpen: boolean;
5
7
  render(): import('lit-html').TemplateResult<1>;
6
8
  }
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CommandEmpty extends LitElement {
3
+ export declare class SelectSeperator extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,6 +1,10 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
+ import { SelectItem } from './select-item';
3
+ import { SelectList } from './select-list';
4
+ import { SelectLabel } from './select-label';
5
+ import { SelectSeperator } from './select-seperator';
2
6
 
3
- declare class ComboBox extends LitElement {
7
+ declare class Select extends LitElement {
4
8
  static styles: import('lit').CSSResult[];
5
9
  isOpen: boolean;
6
10
  selectedValue: string;
@@ -8,20 +12,22 @@ declare class ComboBox extends LitElement {
8
12
  focusedIndex: number;
9
13
  filteredItems: string[];
10
14
  label: string;
11
- items: any[];
15
+ items: never[];
12
16
  protected firstUpdated(_changedProperties: PropertyValues): void;
13
17
  toggleDropdown(): void;
14
18
  selectItem(event: Event): void;
15
19
  handleInputClick(): void;
16
- handleSearch(event: Event): void;
17
20
  handleKeyDown(event: KeyboardEvent): void;
18
21
  handleMouseOver(event: Event, index: number): void;
19
- updateFocus(): void;
20
22
  render(): import('lit-html').TemplateResult<1>;
21
23
  }
22
- export { ComboBox };
24
+ export { Select, SelectItem, SelectList, SelectLabel, SelectSeperator };
23
25
  declare global {
24
26
  interface HTMLElementTagNameMap {
25
- 'rtg-combo-box': ComboBox;
27
+ 'rtg-select': Select;
28
+ 'rtg-select-list': SelectList;
29
+ 'rtg-select-item': SelectItem;
30
+ 'rtg-select-label': SelectLabel;
31
+ 'rtg-select-seperator': SelectSeperator;
26
32
  }
27
33
  }
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const basicSelect: StoryFn;
6
+ export declare const emptySelect: StoryFn;
@@ -0,0 +1,14 @@
1
+ import { BaseElement } from '../../../helpers';
2
+ import { SEPARATOR_ORIENTATION } from './separator.defs';
3
+
4
+ export declare class Separator extends BaseElement {
5
+ orientation: SEPARATOR_ORIENTATION;
6
+ static styles: import('lit').CSSResult[];
7
+ protected getAttributesToExclude(): string[];
8
+ render(): import('lit-html').TemplateResult<1>;
9
+ }
10
+ declare global {
11
+ interface HTMLElementTagNameMap {
12
+ 'rtg-separator': Separator;
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum SEPARATOR_ORIENTATION {
2
+ /**
3
+ * @vertical Type
4
+ */
5
+ VERTICAL = "vertical",
6
+ /**
7
+ * @horizontal Type
8
+ */
9
+ HORIZONTAL = "horizontal"
10
+ }
@@ -3,5 +3,6 @@ import { Meta, StoryObj } from '@storybook/web-components';
3
3
  declare const meta: Meta;
4
4
  export default meta;
5
5
  type Story = StoryObj;
6
- export declare const ConfirmationDialog: Story;
7
- export declare const ModalForm: Story;
6
+ export declare const Default: Story;
7
+ export declare const Horizontal: Story;
8
+ export declare const Vertical: Story;