@revotech-group/revotech-ui-kit 0.2.2 → 0.2.4

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 (206) hide show
  1. package/dist/library.css +501 -12
  2. package/dist/rtg-ui-kit.js +3335 -2913
  3. package/dist/rtg-ui-kit.umd.cjs +340 -318
  4. package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -1
  5. package/dist/src/assets/icons/arrows.icon.d.ts +1 -1
  6. package/dist/src/assets/icons/carousel-arrow-left.d.ts +1 -1
  7. package/dist/src/assets/icons/carousel-arrow-right.d.ts +1 -1
  8. package/dist/src/assets/icons/chart.icon.d.ts +1 -1
  9. package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -1
  10. package/dist/src/assets/icons/circle-x.icon.d.ts +1 -1
  11. package/dist/src/assets/icons/circle.icon.d.ts +1 -1
  12. package/dist/src/assets/icons/close.icon.d.ts +1 -1
  13. package/dist/src/assets/icons/decrease.icon.d.ts +1 -1
  14. package/dist/src/assets/icons/dot.icon.d.ts +1 -1
  15. package/dist/src/assets/icons/eye-off.d.ts +1 -1
  16. package/dist/src/assets/icons/eye-on.d.ts +1 -1
  17. package/dist/src/assets/icons/help-circle.icon.d.ts +1 -1
  18. package/dist/src/assets/icons/plus.icon.d.ts +1 -1
  19. package/dist/src/assets/icons/radio-group.icon.d.ts +1 -1
  20. package/dist/src/assets/icons/radio.icon.d.ts +1 -1
  21. package/dist/src/assets/icons/tick.icon.d.ts +1 -1
  22. package/dist/src/components/ui/accordion/accordion-content.d.ts +1 -1
  23. package/dist/src/components/ui/accordion/accordion-item.d.ts +1 -1
  24. package/dist/src/components/ui/accordion/accordion-trigger.d.ts +1 -1
  25. package/dist/src/components/ui/accordion/accordion.d.ts +1 -1
  26. package/dist/src/components/ui/alert/_alert-action.d.ts +1 -1
  27. package/dist/src/components/ui/alert/_alert-description.d.ts +1 -1
  28. package/dist/src/components/ui/alert/_alert-title.d.ts +1 -1
  29. package/dist/src/components/ui/alert/_alert.d.ts +1 -1
  30. package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +1 -1
  31. package/dist/src/components/ui/avatar/_avatar-badge.d.ts +1 -1
  32. package/dist/src/components/ui/avatar/_avatar-fallback.d.ts +1 -1
  33. package/dist/src/components/ui/avatar/_avatar-group-count.d.ts +1 -1
  34. package/dist/src/components/ui/avatar/_avatar-group.d.ts +1 -1
  35. package/dist/src/components/ui/avatar/_avatar-image.d.ts +1 -1
  36. package/dist/src/components/ui/avatar/_avatar.d.ts +1 -1
  37. package/dist/src/components/ui/badge/badge.d.ts +2 -2
  38. package/dist/src/components/ui/badge/badge.style.d.ts +1 -1
  39. package/dist/src/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
  40. package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +1 -1
  41. package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +1 -1
  42. package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +1 -1
  43. package/dist/src/components/ui/breadcrumb/breadcrumb-separator.d.ts +1 -1
  44. package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +1 -1
  45. package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +1 -1
  46. package/dist/src/components/ui/button/_button.d.ts +1 -1
  47. package/dist/src/components/ui/button/button.style.d.ts +1 -1
  48. package/dist/src/components/ui/calendar/calendar.d.ts +1 -1
  49. package/dist/src/components/ui/card/_card-action.d.ts +1 -1
  50. package/dist/src/components/ui/card/_card-content.d.ts +1 -1
  51. package/dist/src/components/ui/card/_card-description.d.ts +1 -1
  52. package/dist/src/components/ui/card/_card-footer.d.ts +1 -1
  53. package/dist/src/components/ui/card/_card-header.d.ts +1 -1
  54. package/dist/src/components/ui/card/_card-title.d.ts +1 -1
  55. package/dist/src/components/ui/card/_card.d.ts +1 -1
  56. package/dist/src/components/ui/carousel/carousel.d.ts +1 -1
  57. package/dist/src/components/ui/checkbox/_checkbox.d.ts +1 -1
  58. package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +1 -0
  59. package/dist/src/components/ui/collapsible/collapsible-content.d.ts +1 -1
  60. package/dist/src/components/ui/collapsible/collapsible-trigger.d.ts +1 -1
  61. package/dist/src/components/ui/collapsible/collapsible.d.ts +1 -1
  62. package/dist/src/components/ui/combobox/combo-box-empty.d.ts +1 -1
  63. package/dist/src/components/ui/combobox/combo-box-group.d.ts +1 -1
  64. package/dist/src/components/ui/combobox/combo-box-input.d.ts +1 -1
  65. package/dist/src/components/ui/combobox/combo-box-item.d.ts +1 -1
  66. package/dist/src/components/ui/combobox/combo-box-trigger.d.ts +1 -1
  67. package/dist/src/components/ui/combobox/combo-box-value.d.ts +1 -1
  68. package/dist/src/components/ui/combobox/combo-box.d.ts +1 -1
  69. package/dist/src/components/ui/command/command-empty.atom.d.ts +1 -1
  70. package/dist/src/components/ui/command/command-group.atom.d.ts +1 -1
  71. package/dist/src/components/ui/command/command-input.atom.d.ts +1 -1
  72. package/dist/src/components/ui/command/command-item.atom.d.ts +1 -1
  73. package/dist/src/components/ui/command/command-list.atom.d.ts +1 -1
  74. package/dist/src/components/ui/command/command-separator.atom.d.ts +1 -1
  75. package/dist/src/components/ui/command/command.d.ts +1 -1
  76. package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +1 -1
  77. package/dist/src/components/ui/context-menu/context-menu-content.d.ts +1 -1
  78. package/dist/src/components/ui/context-menu/context-menu-group.d.ts +1 -1
  79. package/dist/src/components/ui/context-menu/context-menu-item.d.ts +1 -1
  80. package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +1 -1
  81. package/dist/src/components/ui/context-menu/context-menu-seperator.d.ts +1 -1
  82. package/dist/src/components/ui/context-menu/context-menu-shortcut.d.ts +1 -1
  83. package/dist/src/components/ui/context-menu/context-menu-trigger.d.ts +1 -1
  84. package/dist/src/components/ui/context-menu/context-menu.d.ts +1 -1
  85. package/dist/src/components/ui/data-table/data-table.d.ts +1 -1
  86. package/dist/src/components/ui/date-picker/date-picker.d.ts +1 -1
  87. package/dist/src/components/ui/dialog/dialog-close.d.ts +1 -1
  88. package/dist/src/components/ui/dialog/dialog-content.d.ts +1 -1
  89. package/dist/src/components/ui/dialog/dialog-footer.d.ts +1 -1
  90. package/dist/src/components/ui/dialog/dialog-header.d.ts +1 -1
  91. package/dist/src/components/ui/dialog/dialog-overly.d.ts +1 -1
  92. package/dist/src/components/ui/dialog/dialog-trigger.d.ts +1 -1
  93. package/dist/src/components/ui/dialog/dialog.d.ts +1 -1
  94. package/dist/src/components/ui/drawer/drawer-close.d.ts +1 -1
  95. package/dist/src/components/ui/drawer/drawer-content.d.ts +1 -1
  96. package/dist/src/components/ui/drawer/drawer-description.d.ts +1 -1
  97. package/dist/src/components/ui/drawer/drawer-footer.d.ts +1 -1
  98. package/dist/src/components/ui/drawer/drawer-header.d.ts +1 -1
  99. package/dist/src/components/ui/drawer/drawer-overlay.d.ts +1 -1
  100. package/dist/src/components/ui/drawer/drawer-title.d.ts +1 -1
  101. package/dist/src/components/ui/drawer/drawer-trigger.d.ts +1 -1
  102. package/dist/src/components/ui/drawer/drawer.d.ts +1 -1
  103. package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +1 -1
  104. package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +1 -1
  105. package/dist/src/components/ui/dropdown-menu/dropdown-menu-group.d.ts +1 -1
  106. package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +1 -1
  107. package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +1 -1
  108. package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +1 -1
  109. package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +1 -1
  110. package/dist/src/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
  111. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +1 -1
  112. package/dist/src/components/ui/field/_field-content.d.ts +24 -0
  113. package/dist/src/components/ui/field/_field-description.d.ts +24 -0
  114. package/dist/src/components/ui/field/_field-error.d.ts +24 -0
  115. package/dist/src/components/ui/field/_field-group.d.ts +29 -0
  116. package/dist/src/components/ui/field/_field-label.d.ts +28 -0
  117. package/dist/src/components/ui/field/_field-legend.d.ts +31 -0
  118. package/dist/src/components/ui/field/_field-separator.d.ts +39 -0
  119. package/dist/src/components/ui/field/_field-set.d.ts +23 -0
  120. package/dist/src/components/ui/field/_field-title.d.ts +23 -0
  121. package/dist/src/components/ui/field/_field.d.ts +37 -0
  122. package/dist/src/components/ui/field/field.d.ts +30 -0
  123. package/dist/src/components/ui/field/field.defs.d.ts +24 -0
  124. package/dist/src/components/ui/field/field.stories.d.ts +17 -0
  125. package/dist/src/components/ui/form/rtg-form-controller.d.ts +1 -1
  126. package/dist/src/components/ui/form/rtg-form-description.d.ts +1 -1
  127. package/dist/src/components/ui/form/rtg-form-field.d.ts +1 -1
  128. package/dist/src/components/ui/form/rtg-form-item.d.ts +1 -1
  129. package/dist/src/components/ui/form/rtg-form-label.d.ts +1 -1
  130. package/dist/src/components/ui/form/rtg-form-message.d.ts +1 -1
  131. package/dist/src/components/ui/form/rtg-form.d.ts +1 -1
  132. package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +1 -1
  133. package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +1 -1
  134. package/dist/src/components/ui/hoverCard/hover-card.d.ts +1 -1
  135. package/dist/src/components/ui/index.d.ts +1 -0
  136. package/dist/src/components/ui/input/_input.d.ts +1 -1
  137. package/dist/src/components/ui/input-otp/_input-otp-group.d.ts +1 -1
  138. package/dist/src/components/ui/input-otp/_input-otp-separator.d.ts +1 -1
  139. package/dist/src/components/ui/input-otp/_input-otp-slot.d.ts +1 -1
  140. package/dist/src/components/ui/input-otp/_input-otp.d.ts +1 -1
  141. package/dist/src/components/ui/label/_label.d.ts +1 -1
  142. package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +1 -1
  143. package/dist/src/components/ui/menubar/menubar-content.d.ts +1 -1
  144. package/dist/src/components/ui/menubar/menubar-group.d.ts +1 -1
  145. package/dist/src/components/ui/menubar/menubar-item.d.ts +1 -1
  146. package/dist/src/components/ui/menubar/menubar-menu.d.ts +1 -1
  147. package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +1 -1
  148. package/dist/src/components/ui/menubar/menubar-separator.d.ts +1 -1
  149. package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +1 -1
  150. package/dist/src/components/ui/menubar/menubar-trigger.d.ts +1 -1
  151. package/dist/src/components/ui/menubar/menubar.d.ts +1 -1
  152. package/dist/src/components/ui/navigation-menu/navigation-menu-content.d.ts +1 -1
  153. package/dist/src/components/ui/navigation-menu/navigation-menu-item.d.ts +1 -1
  154. package/dist/src/components/ui/navigation-menu/navigation-menu-link.d.ts +1 -1
  155. package/dist/src/components/ui/navigation-menu/navigation-menu-list.d.ts +1 -1
  156. package/dist/src/components/ui/navigation-menu/navigation-menu-trigger.d.ts +1 -1
  157. package/dist/src/components/ui/navigation-menu/navigation-menu.d.ts +1 -1
  158. package/dist/src/components/ui/pagination/pagination-content.d.ts +1 -1
  159. package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +1 -1
  160. package/dist/src/components/ui/pagination/pagination-item.d.ts +1 -1
  161. package/dist/src/components/ui/pagination/pagination-link.d.ts +1 -1
  162. package/dist/src/components/ui/pagination/pagination-next.d.ts +1 -1
  163. package/dist/src/components/ui/pagination/pagination-previous.d.ts +1 -1
  164. package/dist/src/components/ui/pagination/pagination.d.ts +1 -1
  165. package/dist/src/components/ui/pagination/pagination.styles.d.ts +1 -1
  166. package/dist/src/components/ui/popover/popover-content.d.ts +1 -1
  167. package/dist/src/components/ui/popover/popover-trigger.d.ts +1 -1
  168. package/dist/src/components/ui/popover/popover.d.ts +1 -1
  169. package/dist/src/components/ui/progress/progress.d.ts +1 -1
  170. package/dist/src/components/ui/radio-group/radio-group-item.d.ts +1 -1
  171. package/dist/src/components/ui/radio-group/radio-group.d.ts +1 -1
  172. package/dist/src/components/ui/sample-demo/sample-demo.d.ts +2 -2
  173. package/dist/src/components/ui/sample-demo/sample.style.d.ts +1 -1
  174. package/dist/src/components/ui/scroll-area/scroll-area.d.ts +1 -1
  175. package/dist/src/components/ui/select/select-group.d.ts +1 -1
  176. package/dist/src/components/ui/select/select-item.d.ts +1 -1
  177. package/dist/src/components/ui/select/select-label.d.ts +1 -1
  178. package/dist/src/components/ui/select/select-list.d.ts +1 -1
  179. package/dist/src/components/ui/select/select-seperator.d.ts +1 -1
  180. package/dist/src/components/ui/select/select-trigger.d.ts +1 -1
  181. package/dist/src/components/ui/select/select-value.d.ts +1 -1
  182. package/dist/src/components/ui/select/select.d.ts +1 -1
  183. package/dist/src/components/ui/separator/_separator.d.ts +1 -1
  184. package/dist/src/components/ui/skeleton/skeleton.d.ts +1 -1
  185. package/dist/src/components/ui/switch/switch.d.ts +1 -1
  186. package/dist/src/components/ui/table/table.d.ts +1 -1
  187. package/dist/src/components/ui/tabs/_tabs-content.d.ts +1 -1
  188. package/dist/src/components/ui/tabs/_tabs-list.d.ts +1 -1
  189. package/dist/src/components/ui/tabs/_tabs-trigger.d.ts +1 -1
  190. package/dist/src/components/ui/tabs/_tabs.d.ts +1 -1
  191. package/dist/src/components/ui/textarea/textarea.d.ts +1 -1
  192. package/dist/src/components/ui/toast/toast-action.d.ts +1 -1
  193. package/dist/src/components/ui/toast/toast-description.d.ts +1 -1
  194. package/dist/src/components/ui/toast/toast-title.d.ts +1 -1
  195. package/dist/src/components/ui/toast/toast-trigger.d.ts +1 -1
  196. package/dist/src/components/ui/toast/toast-view-port.d.ts +1 -1
  197. package/dist/src/components/ui/toast/toast.d.ts +1 -1
  198. package/dist/src/components/ui/toggle/toggle.d.ts +2 -2
  199. package/dist/src/components/ui/toggle/toggle.style.d.ts +1 -1
  200. package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +2 -2
  201. package/dist/src/components/ui/toggle-group/toggle-group.d.ts +1 -1
  202. package/dist/src/components/ui/toggle-group/toggle-group.style.d.ts +1 -1
  203. package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +1 -3
  204. package/dist/src/helpers/shadow-wrapper.d.ts +1 -1
  205. package/dist/src/wc-ui-app.d.ts +1 -1
  206. package/package.json +26 -39
@@ -7,5 +7,5 @@ export declare class ContextMenuGroup extends BaseElement {
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  protected getAttributesToExclude(): string[];
9
9
  protected firstUpdated(_changedProperties: PropertyValues): void;
10
- render(): import('lit').TemplateResult<1>;
10
+ render(): import('lit-html').TemplateResult<1>;
11
11
  }
@@ -10,5 +10,5 @@ export declare class ContextMenuItem extends BaseElement {
10
10
  disconnectedCallback(): void;
11
11
  protected createRenderRoot(): HTMLElement | DocumentFragment;
12
12
  disabled: boolean;
13
- render(): import('lit').TemplateResult<1>;
13
+ render(): import('lit-html').TemplateResult<1>;
14
14
  }
@@ -13,5 +13,5 @@ export declare class ContextMenuRadioItem extends BaseElement {
13
13
  toggleChecked(): void;
14
14
  protected createRenderRoot(): HTMLElement | DocumentFragment;
15
15
  protected firstUpdated(_changedProperties: PropertyValues): void;
16
- render(): import('lit').TemplateResult<1>;
16
+ render(): import('lit-html').TemplateResult<1>;
17
17
  }
@@ -3,5 +3,5 @@ import { LitElement } from 'lit';
3
3
  export declare class ContextMenuSeparator extends LitElement {
4
4
  _id: string;
5
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
6
- render(): import('lit').TemplateResult<1>;
6
+ render(): import('lit-html').TemplateResult<1>;
7
7
  }
@@ -6,5 +6,5 @@ export declare class ContextMenuShortcut extends BaseElement {
6
6
  protected getAttributesToExclude(): string[];
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  protected firstUpdated(_changedProperties: PropertyValues): void;
9
- render(): import('lit').TemplateResult<1>;
9
+ render(): import('lit-html').TemplateResult<1>;
10
10
  }
@@ -2,5 +2,5 @@ import { LitElement } from 'lit';
2
2
 
3
3
  export declare class ContextTrigger extends LitElement {
4
4
  protected createRenderRoot(): HTMLElement | DocumentFragment;
5
- render(): import('lit').TemplateResult<1>;
5
+ render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -23,7 +23,7 @@ declare class ContextMenu extends BaseElement {
23
23
  protected getAttributesToExclude(): string[];
24
24
  protected firstUpdated(_changedProperties: PropertyValues): void;
25
25
  protected createRenderRoot(): HTMLElement | DocumentFragment;
26
- render(): import('lit').TemplateResult<1>;
26
+ render(): import('lit-html').TemplateResult<1>;
27
27
  }
28
28
  export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextTrigger, };
29
29
  declare global {
@@ -36,5 +36,5 @@ export declare class Table extends BaseElement {
36
36
  private handleHeaderCheckboxChange;
37
37
  private handleRowCheckboxChange;
38
38
  private get selectedRowCount();
39
- render(): import('lit').TemplateResult<1>;
39
+ render(): import('lit-html').TemplateResult<1>;
40
40
  }
@@ -4,7 +4,7 @@ export declare class DatePicker extends LitElement {
4
4
  selectedDate: Date | null;
5
5
  private handleDateSelected;
6
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
- render(): import('lit').TemplateResult<1>;
7
+ render(): import('lit-html').TemplateResult<1>;
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
@@ -7,7 +7,7 @@ export declare class DialogClose extends BaseElement {
7
7
  protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
8
8
  protected getAttributesToExclude(): string[];
9
9
  protected createRenderRoot(): HTMLElement | DocumentFragment;
10
- render(): import('lit').TemplateResult<1>;
10
+ render(): import('lit-html').TemplateResult<1>;
11
11
  }
12
12
  declare global {
13
13
  interface HTMLElementTagNameMap {
@@ -12,5 +12,5 @@ export declare class DialogContent extends BaseElement {
12
12
  protected createRenderRoot(): HTMLElement | DocumentFragment;
13
13
  protected firstUpdated(_changedProperties: PropertyValues): void;
14
14
  protected updated(_changedProperties: PropertyValues): void;
15
- render(): import('lit').TemplateResult<1>;
15
+ render(): import('lit-html').TemplateResult<1>;
16
16
  }
@@ -6,5 +6,5 @@ export declare class DialogFooter extends BaseElement {
6
6
  protected getAttributesToExclude(): string[];
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  protected firstUpdated(_changedProperties: PropertyValues): void;
9
- render(): import('lit').TemplateResult<1>;
9
+ render(): import('lit-html').TemplateResult<1>;
10
10
  }
@@ -4,5 +4,5 @@ export declare class DialogHeader extends LitElement {
4
4
  _title: string;
5
5
  description: string;
6
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
- render(): import('lit').TemplateResult<1>;
7
+ render(): import('lit-html').TemplateResult<1>;
8
8
  }
@@ -2,5 +2,5 @@ import { LitElement } from 'lit';
2
2
 
3
3
  export declare class DialogOverlay extends LitElement {
4
4
  protected createRenderRoot(): HTMLElement | DocumentFragment;
5
- render(): import('lit').TemplateResult<1>;
5
+ render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -8,5 +8,5 @@ export declare class DialogTrigger extends BaseElement {
8
8
  protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
9
9
  protected getAttributesToExclude(): string[];
10
10
  protected createRenderRoot(): HTMLElement | DocumentFragment;
11
- render(): import('lit').TemplateResult<1>;
11
+ render(): import('lit-html').TemplateResult<1>;
12
12
  }
@@ -15,7 +15,7 @@ declare class Dialog extends BaseElement {
15
15
  protected firstUpdated(_changedProperties: PropertyValues): void;
16
16
  protected createRenderRoot(): HTMLElement | DocumentFragment;
17
17
  protected getAttributesToExclude(): string[];
18
- render(): import('lit').TemplateResult<1>;
18
+ render(): import('lit-html').TemplateResult<1>;
19
19
  }
20
20
  export { Dialog, DialogClose, DialogContent, DialogFooter, DialogHeader, DialogOverlay, DialogTrigger, };
21
21
  declare global {
@@ -7,7 +7,7 @@ export declare class DrawerClose extends BaseElement {
7
7
  protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): Promise<void>;
8
8
  protected getAttributesToExclude(): string[];
9
9
  protected createRenderRoot(): HTMLElement | DocumentFragment;
10
- render(): import('lit').TemplateResult<1>;
10
+ render(): import('lit-html').TemplateResult<1>;
11
11
  }
12
12
  declare global {
13
13
  interface HTMLElementTagNameMap {
@@ -11,5 +11,5 @@ export declare class DrawerContent extends BaseElement {
11
11
  protected createRenderRoot(): HTMLElement | DocumentFragment;
12
12
  protected firstUpdated(_changedProperties: PropertyValues): void;
13
13
  protected updated(_changedProperties: PropertyValues): void;
14
- render(): import('lit').TemplateResult<1>;
14
+ render(): import('lit-html').TemplateResult<1>;
15
15
  }
@@ -6,5 +6,5 @@ export declare class DrawerDescription extends BaseElement {
6
6
  protected getAttributesToExclude(): string[];
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  protected firstUpdated(_changedProperties: PropertyValues): void;
9
- render(): import('lit').TemplateResult<1>;
9
+ render(): import('lit-html').TemplateResult<1>;
10
10
  }
@@ -6,5 +6,5 @@ export declare class DrawerFooter extends BaseElement {
6
6
  protected getAttributesToExclude(): string[];
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  protected firstUpdated(_changedProperties: PropertyValues): void;
9
- render(): import('lit').TemplateResult<1>;
9
+ render(): import('lit-html').TemplateResult<1>;
10
10
  }
@@ -5,5 +5,5 @@ export declare class DrawerHeader extends BaseElement {
5
5
  private get _containerElement();
6
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
7
  protected firstUpdated(_changedProperties: PropertyValues): void;
8
- render(): import('lit').TemplateResult<1>;
8
+ render(): import('lit-html').TemplateResult<1>;
9
9
  }
@@ -2,5 +2,5 @@ import { LitElement } from 'lit';
2
2
 
3
3
  export declare class DrawerOverlay extends LitElement {
4
4
  protected createRenderRoot(): HTMLElement | DocumentFragment;
5
- render(): import('lit').TemplateResult<1>;
5
+ render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -6,5 +6,5 @@ export declare class DrawerTitle extends BaseElement {
6
6
  protected getAttributesToExclude(): string[];
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  protected firstUpdated(_changedProperties: PropertyValues): void;
9
- render(): import('lit').TemplateResult<1>;
9
+ render(): import('lit-html').TemplateResult<1>;
10
10
  }
@@ -8,5 +8,5 @@ export declare class DrawerTrigger extends BaseElement {
8
8
  protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
9
9
  protected getAttributesToExclude(): string[];
10
10
  protected createRenderRoot(): HTMLElement | DocumentFragment;
11
- render(): import('lit').TemplateResult<1>;
11
+ render(): import('lit-html').TemplateResult<1>;
12
12
  }
@@ -23,7 +23,7 @@ declare class Drawer extends BaseElement {
23
23
  protected firstUpdated(_changedProperties: PropertyValues): void;
24
24
  protected createRenderRoot(): HTMLElement | DocumentFragment;
25
25
  protected getAttributesToExclude(): string[];
26
- render(): import('lit').TemplateResult<1>;
26
+ render(): import('lit-html').TemplateResult<1>;
27
27
  }
28
28
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTitle, DrawerTrigger, };
29
29
  declare global {
@@ -14,5 +14,5 @@ export declare class DropdownMenuCheckboxItem extends BaseElement {
14
14
  toggleChecked(): void;
15
15
  protected createRenderRoot(): HTMLElement | DocumentFragment;
16
16
  protected firstUpdated(_changedProperties: PropertyValues): void;
17
- render(): import('lit').TemplateResult<1>;
17
+ render(): import('lit-html').TemplateResult<1>;
18
18
  }
@@ -10,5 +10,5 @@ export declare class DropdownMenuContent extends BaseElement {
10
10
  updated(changedProps: PropertyValues): void;
11
11
  protected createRenderRoot(): HTMLElement | DocumentFragment;
12
12
  protected firstUpdated(_changedProperties: PropertyValues): void;
13
- render(): import('lit').TemplateResult<1>;
13
+ render(): import('lit-html').TemplateResult<1>;
14
14
  }
@@ -8,5 +8,5 @@ export declare class DropdownMenuGroup extends BaseElement {
8
8
  get _containerElement(): HTMLDivElement | null;
9
9
  protected createRenderRoot(): HTMLElement | DocumentFragment;
10
10
  protected firstUpdated(_changedProperties: PropertyValues): void;
11
- render(): import('lit').TemplateResult<1>;
11
+ render(): import('lit-html').TemplateResult<1>;
12
12
  }
@@ -14,5 +14,5 @@ export declare class DropdownMenuItem extends BaseElement {
14
14
  private handleClickDefault;
15
15
  protected createRenderRoot(): HTMLElement | DocumentFragment;
16
16
  protected firstUpdated(_changedProperties: PropertyValues): void;
17
- render(): import('lit').TemplateResult<1>;
17
+ render(): import('lit-html').TemplateResult<1>;
18
18
  }
@@ -13,5 +13,5 @@ export declare class DropdownMenuRadioItem extends BaseElement {
13
13
  toggleChecked(): void;
14
14
  protected createRenderRoot(): HTMLElement | DocumentFragment;
15
15
  protected firstUpdated(_changedProperties: PropertyValues): void;
16
- render(): import('lit').TemplateResult<1>;
16
+ render(): import('lit-html').TemplateResult<1>;
17
17
  }
@@ -5,5 +5,5 @@ export declare class DropdownMenuSeparator extends BaseElement {
5
5
  get _containerElement(): HTMLDivElement | null;
6
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
7
  protected firstUpdated(_changedProperties: PropertyValues): void;
8
- render(): import('lit').TemplateResult<1>;
8
+ render(): import('lit-html').TemplateResult<1>;
9
9
  }
@@ -5,5 +5,5 @@ export declare class DropdownMenuShortcut extends BaseElement {
5
5
  get _containerElement(): HTMLSpanElement | null;
6
6
  protected firstUpdated(_changedProperties: PropertyValues): void;
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
- render(): import('lit').TemplateResult<1>;
8
+ render(): import('lit-html').TemplateResult<1>;
9
9
  }
@@ -2,5 +2,5 @@ import { LitElement } from 'lit';
2
2
 
3
3
  export declare class DropdownMenuTrigger extends LitElement {
4
4
  protected createRenderRoot(): HTMLElement | DocumentFragment;
5
- render(): import('lit').TemplateResult<1>;
5
+ render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -23,7 +23,7 @@ declare class DropdownMenu extends BaseElement {
23
23
  protected firstUpdated(_changedProperties: PropertyValues): void;
24
24
  private _handleRadioSelected;
25
25
  protected createRenderRoot(): HTMLElement | DocumentFragment;
26
- render(): import('lit').TemplateResult<1>;
26
+ render(): import('lit-html').TemplateResult<1>;
27
27
  }
28
28
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, };
29
29
  declare global {
@@ -0,0 +1,24 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ /**
4
+ * Flex column that groups control and descriptions when the label sits beside
5
+ * the control. Not required if you have no description.
6
+ *
7
+ * @element rtg-field-content
8
+ * @slot field-content
9
+ */
10
+ export declare class FieldContent extends LitElement {
11
+ /**
12
+ * Overrides the default behaviour to render into the light DOM.
13
+ */
14
+ protected createRenderRoot(): this;
15
+ /**
16
+ * The slot of the field content.
17
+ */
18
+ private get _contentSlot();
19
+ /**
20
+ * Appends children to the field content slot.
21
+ */
22
+ protected firstUpdated(): void;
23
+ render(): import('lit-html').TemplateResult<1>;
24
+ }
@@ -0,0 +1,24 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ /**
4
+ * Helper text slot that automatically balances long lines in horizontal
5
+ * layouts.
6
+ *
7
+ * @element rtg-field-description
8
+ * @slot field-description
9
+ */
10
+ export declare class FieldDescription extends LitElement {
11
+ /**
12
+ * Overrides the default behaviour to render into the light DOM.
13
+ */
14
+ protected createRenderRoot(): this;
15
+ /**
16
+ * The slot of the field description.
17
+ */
18
+ private get _descriptionSlot();
19
+ /**
20
+ * Appends children to the field description slot.
21
+ */
22
+ protected firstUpdated(): void;
23
+ render(): import('lit-html').TemplateResult<1>;
24
+ }
@@ -0,0 +1,24 @@
1
+ import { LitElement, nothing } from 'lit';
2
+ import { FieldErrorProps, FieldErrorError } from './field.defs';
3
+
4
+ /**
5
+ * Accessible error container that accepts children or an `errors` array. When
6
+ * the `errors` array contains multiple messages, the component renders a list
7
+ * automatically.
8
+ *
9
+ * @element rtg-field-error
10
+ * @slot field-error
11
+ * @slot field-error-content
12
+ */
13
+ export declare class FieldError extends LitElement implements FieldErrorProps {
14
+ /**
15
+ * The array of error messages to render.
16
+ */
17
+ errors?: FieldErrorError[];
18
+ /**
19
+ * Overrides the default behaviour to render into the light DOM.
20
+ */
21
+ protected createRenderRoot(): this;
22
+ private _renderContent;
23
+ render(): typeof nothing | import('lit-html').TemplateResult<1>;
24
+ }
@@ -0,0 +1,29 @@
1
+ import { LitElement } from 'lit';
2
+ import { FieldGroupProps, FieldGroupType } from './field.defs';
3
+
4
+ /**
5
+ * Layout wrapper that stacks `rtg-field` components and enables container
6
+ * queries for responsive orientations.
7
+ *
8
+ * @element rtg-field-group
9
+ * @slot field-group
10
+ */
11
+ export declare class FieldGroup extends LitElement implements FieldGroupProps {
12
+ /**
13
+ * The type of field in the field group.
14
+ */
15
+ type: FieldGroupType;
16
+ /**
17
+ * Overrides the default behaviour to render into the light DOM.
18
+ */
19
+ protected createRenderRoot(): this;
20
+ /**
21
+ * The slot of the field group.
22
+ */
23
+ private get _groupSlot();
24
+ /**
25
+ * Appends children to the field group slot.
26
+ */
27
+ protected firstUpdated(): void;
28
+ render(): import('lit-html').TemplateResult<1>;
29
+ }
@@ -0,0 +1,28 @@
1
+ import { LitElement } from 'lit';
2
+ import { FieldLabelProps } from './field.defs';
3
+
4
+ /**
5
+ * Label styled for both direct inputs and nested `rtg-field` children.
6
+ *
7
+ * @element rtg-field-label
8
+ * @slot field-label
9
+ */
10
+ export declare class FieldLabel extends LitElement implements FieldLabelProps {
11
+ /**
12
+ * The id of the element the label is associated with.
13
+ */
14
+ for?: string;
15
+ /**
16
+ * Overrides the default behaviour to render into the light DOM.
17
+ */
18
+ protected createRenderRoot(): this;
19
+ /**
20
+ * The slot of the field label.
21
+ */
22
+ private get _labelSlot();
23
+ /**
24
+ * Appends children to the field label slot.
25
+ */
26
+ protected firstUpdated(): void;
27
+ render(): import('lit-html').TemplateResult<1>;
28
+ }
@@ -0,0 +1,31 @@
1
+ import { LitElement } from 'lit';
2
+ import { FieldLegendProps, FieldLegendVariant } from './field.defs';
3
+
4
+ /**
5
+ * Legend element for a `rtg-field-set`. Switch to the `label` variant to align
6
+ * with label sizing.
7
+ *
8
+ * @element rtg-field-legend
9
+ * @slot field-legend
10
+ */
11
+ export declare class FieldLegend extends LitElement implements FieldLegendProps {
12
+ /**
13
+ * The sizing and alignment variant of the field legend.
14
+ * The `label` variant applies label sizing and alignment. Handy if you have
15
+ * nested `rtg-field-set`.
16
+ */
17
+ variant: FieldLegendVariant;
18
+ /**
19
+ * Overrides the default behaviour to render into the light DOM.
20
+ */
21
+ protected createRenderRoot(): this;
22
+ /**
23
+ * The slot of the field legend.
24
+ */
25
+ private get _legendSlot();
26
+ /**
27
+ * Appends children to the field legend slot.
28
+ */
29
+ protected firstUpdated(): void;
30
+ render(): import('lit-html').TemplateResult<1>;
31
+ }
@@ -0,0 +1,39 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ /**
4
+ * Visual divider to separate sections inside a `rtg-field-group`. Accepts
5
+ * optional inline content.
6
+ *
7
+ * @element rtg-field-separator
8
+ * @slot field-separator
9
+ * @slot field-separator-content
10
+ */
11
+ export declare class FieldSeparator extends LitElement {
12
+ /**
13
+ * Initial user-provided children of field separator.
14
+ */
15
+ private _children;
16
+ /**
17
+ * Capture the user-provided children before field separator is rendered.
18
+ */
19
+ constructor();
20
+ /**
21
+ * Overrides the default behaviour to render into the light DOM.
22
+ */
23
+ protected createRenderRoot(): this;
24
+ /**
25
+ * The slot of the field separator.
26
+ */
27
+ private get _separatorSlot();
28
+ /**
29
+ * The slot of the field separator content.
30
+ */
31
+ private get _contentSlot();
32
+ /**
33
+ * Appends children to the field separator content slot and sets the parent
34
+ * slot's `data-content` attribute. If no children are provided, the content
35
+ * slot is removed.
36
+ */
37
+ protected firstUpdated(): void;
38
+ render(): import('lit-html').TemplateResult<1>;
39
+ }
@@ -0,0 +1,23 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ /**
4
+ * Container that renders a semantic `fieldset` with spacing presets.
5
+ *
6
+ * @element rtg-field-set
7
+ * @slot field-set
8
+ */
9
+ export declare class FieldSet extends LitElement {
10
+ /**
11
+ * Overrides the default behaviour to render into the light DOM.
12
+ */
13
+ protected createRenderRoot(): this;
14
+ /**
15
+ * The slot of the field set.
16
+ */
17
+ private get _setSlot();
18
+ /**
19
+ * Appends children to the field set slot.
20
+ */
21
+ protected firstUpdated(): void;
22
+ render(): import('lit-html').TemplateResult<1>;
23
+ }
@@ -0,0 +1,23 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ /**
4
+ * Renders a title with label styling inside `rtg-field-content`.
5
+ *
6
+ * @element rtg-field-title
7
+ * @slot field-label
8
+ */
9
+ export declare class FieldTitle extends LitElement {
10
+ /**
11
+ * Overrides the default behaviour to render into the light DOM.
12
+ */
13
+ protected createRenderRoot(): this;
14
+ /**
15
+ * The slot of the field title.
16
+ */
17
+ private get _titleSlot();
18
+ /**
19
+ * Appends children to the field title slot.
20
+ */
21
+ protected firstUpdated(): void;
22
+ render(): import('lit-html').TemplateResult<1>;
23
+ }
@@ -0,0 +1,37 @@
1
+ import { LitElement } from 'lit';
2
+ import { FieldProps, FieldOrientation } from './field.defs';
3
+
4
+ /**
5
+ * The core wrapper for a single field. Provides orientation control, invalid
6
+ * state styling, and spacing.
7
+ *
8
+ * @element rtg-field
9
+ * @slot field
10
+ */
11
+ export declare class Field extends LitElement implements FieldProps {
12
+ /**
13
+ * The orientation of the field contents.
14
+ */
15
+ orientation: FieldOrientation;
16
+ /**
17
+ * Indicates that a child of the field is disabled.
18
+ */
19
+ disabled?: boolean;
20
+ /**
21
+ * Indicates that a child of the field is invalid.
22
+ */
23
+ invalid?: boolean;
24
+ /**
25
+ * Overrides the default behaviour to render into the light DOM.
26
+ */
27
+ protected createRenderRoot(): this;
28
+ /**
29
+ * The slot of the field root.
30
+ */
31
+ private get _rootSlot();
32
+ /**
33
+ * Appends children to the field group slot.
34
+ */
35
+ protected firstUpdated(): void;
36
+ render(): import('lit-html').TemplateResult<1>;
37
+ }
@@ -0,0 +1,30 @@
1
+ import { FieldSet } from './_field-set';
2
+ import { FieldLegend } from './_field-legend';
3
+ import { FieldGroup } from './_field-group';
4
+ import { Field } from './_field';
5
+ import { FieldContent } from './_field-content';
6
+ import { FieldLabel } from './_field-label';
7
+ import { FieldTitle } from './_field-title';
8
+ import { FieldDescription } from './_field-description';
9
+ import { FieldSeparator } from './_field-separator';
10
+ import { FieldError } from './_field-error';
11
+
12
+ export { FieldSet, FieldLegend, FieldGroup, Field, FieldContent, FieldLabel, FieldTitle, FieldDescription, FieldSeparator, FieldError, };
13
+ /**
14
+ * Combine labels, controls, and help text to compose accessible form fields and
15
+ * grouped inputs.
16
+ */
17
+ declare global {
18
+ interface HTMLElementTagNameMap {
19
+ 'rtg-field-set': FieldSet;
20
+ 'rtg-field-legend': FieldLegend;
21
+ 'rtg-field-group': FieldGroup;
22
+ 'rtg-field': Field;
23
+ 'rtg-field-content': FieldContent;
24
+ 'rtg-field-label': FieldLabel;
25
+ 'rtg-field-title': FieldTitle;
26
+ 'rtg-field-description': FieldDescription;
27
+ 'rtg-field-separator': FieldSeparator;
28
+ 'rtg-field-error': FieldError;
29
+ }
30
+ }
@@ -0,0 +1,24 @@
1
+ import { LabelProps } from '../label/label.defs';
2
+
3
+ export type FieldLegendVariant = 'legend' | 'label';
4
+ export interface FieldLegendProps {
5
+ variant: FieldLegendVariant;
6
+ }
7
+ export type FieldGroupType = 'field' | 'checkbox' | 'radio';
8
+ export interface FieldGroupProps {
9
+ type: FieldGroupType;
10
+ }
11
+ export type FieldOrientation = 'vertical' | 'horizontal' | 'responsive';
12
+ export interface FieldProps {
13
+ orientation: FieldOrientation;
14
+ disabled?: boolean;
15
+ invalid?: boolean;
16
+ }
17
+ export interface FieldLabelProps extends LabelProps {
18
+ }
19
+ export type FieldErrorError = {
20
+ message?: string;
21
+ } | undefined;
22
+ export interface FieldErrorProps {
23
+ errors?: FieldErrorError[];
24
+ }