@skedulo/breeze-ui 0.11.0 → 1.0.0-preview.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/package.json +42 -8
  2. package/dist/custom-elements.json +0 -33408
  3. package/dist/lib/cjs/breeze-ui.js +0 -5000
  4. package/dist/lib/cjs/package.json +0 -3
  5. package/dist/lib/es/breeze-ui.js +0 -25629
  6. package/dist/lib/es/package.json +0 -3
  7. package/dist/tsconfig.tsbuildinfo +0 -1
  8. package/dist/types/animation/fade-in-out.d.ts +0 -37
  9. package/dist/types/animation/fade-in-out.d.ts.map +0 -1
  10. package/dist/types/animation/index.d.ts +0 -2
  11. package/dist/types/animation/index.d.ts.map +0 -1
  12. package/dist/types/components/alert.d.ts +0 -58
  13. package/dist/types/components/alert.d.ts.map +0 -1
  14. package/dist/types/components/avatar.d.ts +0 -131
  15. package/dist/types/components/avatar.d.ts.map +0 -1
  16. package/dist/types/components/badge.d.ts +0 -58
  17. package/dist/types/components/badge.d.ts.map +0 -1
  18. package/dist/types/components/button.d.ts +0 -157
  19. package/dist/types/components/button.d.ts.map +0 -1
  20. package/dist/types/components/combo-box.d.ts +0 -33
  21. package/dist/types/components/combo-box.d.ts.map +0 -1
  22. package/dist/types/components/confirmation-dialog.d.ts +0 -44
  23. package/dist/types/components/confirmation-dialog.d.ts.map +0 -1
  24. package/dist/types/components/dropdown-button.d.ts +0 -44
  25. package/dist/types/components/dropdown-button.d.ts.map +0 -1
  26. package/dist/types/components/form-elements/code-theme.d.ts +0 -2
  27. package/dist/types/components/form-elements/code-theme.d.ts.map +0 -1
  28. package/dist/types/components/form-elements/index.d.ts +0 -14
  29. package/dist/types/components/form-elements/index.d.ts.map +0 -1
  30. package/dist/types/components/form-elements/input-base.d.ts +0 -76
  31. package/dist/types/components/form-elements/input-base.d.ts.map +0 -1
  32. package/dist/types/components/form-elements/input-checkbox.d.ts +0 -61
  33. package/dist/types/components/form-elements/input-checkbox.d.ts.map +0 -1
  34. package/dist/types/components/form-elements/input-code.d.ts +0 -78
  35. package/dist/types/components/form-elements/input-code.d.ts.map +0 -1
  36. package/dist/types/components/form-elements/input-error.d.ts +0 -23
  37. package/dist/types/components/form-elements/input-error.d.ts.map +0 -1
  38. package/dist/types/components/form-elements/input-guide.d.ts +0 -24
  39. package/dist/types/components/form-elements/input-guide.d.ts.map +0 -1
  40. package/dist/types/components/form-elements/input-multiselect.d.ts +0 -136
  41. package/dist/types/components/form-elements/input-multiselect.d.ts.map +0 -1
  42. package/dist/types/components/form-elements/input-number.d.ts +0 -72
  43. package/dist/types/components/form-elements/input-number.d.ts.map +0 -1
  44. package/dist/types/components/form-elements/input-radio.d.ts +0 -87
  45. package/dist/types/components/form-elements/input-radio.d.ts.map +0 -1
  46. package/dist/types/components/form-elements/input-select-base.d.ts +0 -218
  47. package/dist/types/components/form-elements/input-select-base.d.ts.map +0 -1
  48. package/dist/types/components/form-elements/input-select.d.ts +0 -92
  49. package/dist/types/components/form-elements/input-select.d.ts.map +0 -1
  50. package/dist/types/components/form-elements/input-text-base.d.ts +0 -36
  51. package/dist/types/components/form-elements/input-text-base.d.ts.map +0 -1
  52. package/dist/types/components/form-elements/input-text.d.ts +0 -38
  53. package/dist/types/components/form-elements/input-text.d.ts.map +0 -1
  54. package/dist/types/components/form-elements/input-textarea.d.ts +0 -39
  55. package/dist/types/components/form-elements/input-textarea.d.ts.map +0 -1
  56. package/dist/types/components/form-elements/input-time.d.ts +0 -106
  57. package/dist/types/components/form-elements/input-time.d.ts.map +0 -1
  58. package/dist/types/components/form-elements/labeled-input.d.ts +0 -93
  59. package/dist/types/components/form-elements/labeled-input.d.ts.map +0 -1
  60. package/dist/types/components/heading.d.ts +0 -32
  61. package/dist/types/components/heading.d.ts.map +0 -1
  62. package/dist/types/components/icon/icon.d.ts +0 -30
  63. package/dist/types/components/icon/icon.d.ts.map +0 -1
  64. package/dist/types/components/icon/icons.d.ts +0 -16
  65. package/dist/types/components/icon/icons.d.ts.map +0 -1
  66. package/dist/types/components/icon/index.d.ts +0 -3
  67. package/dist/types/components/icon/index.d.ts.map +0 -1
  68. package/dist/types/components/icon/legacy-icons.d.ts +0 -9
  69. package/dist/types/components/icon/legacy-icons.d.ts.map +0 -1
  70. package/dist/types/components/illustration/illustration.d.ts +0 -41
  71. package/dist/types/components/illustration/illustration.d.ts.map +0 -1
  72. package/dist/types/components/illustration/illustrations.d.ts +0 -6
  73. package/dist/types/components/illustration/illustrations.d.ts.map +0 -1
  74. package/dist/types/components/illustration/index.d.ts +0 -3
  75. package/dist/types/components/illustration/index.d.ts.map +0 -1
  76. package/dist/types/components/index.d.ts +0 -27
  77. package/dist/types/components/index.d.ts.map +0 -1
  78. package/dist/types/components/inline-edit/index.d.ts +0 -7
  79. package/dist/types/components/inline-edit/index.d.ts.map +0 -1
  80. package/dist/types/components/inline-edit/inline-edit-controls.d.ts +0 -29
  81. package/dist/types/components/inline-edit/inline-edit-controls.d.ts.map +0 -1
  82. package/dist/types/components/inline-edit/inline-edit-field.d.ts +0 -203
  83. package/dist/types/components/inline-edit/inline-edit-field.d.ts.map +0 -1
  84. package/dist/types/components/inline-edit/inline-edit-group.d.ts +0 -60
  85. package/dist/types/components/inline-edit/inline-edit-group.d.ts.map +0 -1
  86. package/dist/types/components/inline-edit/inline-edit.base.d.ts +0 -52
  87. package/dist/types/components/inline-edit/inline-edit.base.d.ts.map +0 -1
  88. package/dist/types/components/inline-edit/inline-edit.const.d.ts +0 -6
  89. package/dist/types/components/inline-edit/inline-edit.const.d.ts.map +0 -1
  90. package/dist/types/components/inline-edit/inline-edit.events.d.ts +0 -32
  91. package/dist/types/components/inline-edit/inline-edit.events.d.ts.map +0 -1
  92. package/dist/types/components/inline-edit/inline-edit.styles.d.ts +0 -4
  93. package/dist/types/components/inline-edit/inline-edit.styles.d.ts.map +0 -1
  94. package/dist/types/components/inline-edit/inline-edit.types.d.ts +0 -45
  95. package/dist/types/components/inline-edit/inline-edit.types.d.ts.map +0 -1
  96. package/dist/types/components/legacy-scoped-components.d.ts +0 -269
  97. package/dist/types/components/legacy-scoped-components.d.ts.map +0 -1
  98. package/dist/types/components/link.d.ts +0 -102
  99. package/dist/types/components/link.d.ts.map +0 -1
  100. package/dist/types/components/loading.d.ts +0 -27
  101. package/dist/types/components/loading.d.ts.map +0 -1
  102. package/dist/types/components/lozenge.d.ts +0 -94
  103. package/dist/types/components/lozenge.d.ts.map +0 -1
  104. package/dist/types/components/menu/dropdown-menu.d.ts +0 -142
  105. package/dist/types/components/menu/dropdown-menu.d.ts.map +0 -1
  106. package/dist/types/components/menu/index.d.ts +0 -4
  107. package/dist/types/components/menu/index.d.ts.map +0 -1
  108. package/dist/types/components/menu/menu-item.d.ts +0 -103
  109. package/dist/types/components/menu/menu-item.d.ts.map +0 -1
  110. package/dist/types/components/menu/menu.const.d.ts +0 -3
  111. package/dist/types/components/menu/menu.const.d.ts.map +0 -1
  112. package/dist/types/components/menu/menu.d.ts +0 -188
  113. package/dist/types/components/menu/menu.d.ts.map +0 -1
  114. package/dist/types/components/modal/index.d.ts +0 -3
  115. package/dist/types/components/modal/index.d.ts.map +0 -1
  116. package/dist/types/components/modal/layout.d.ts +0 -60
  117. package/dist/types/components/modal/layout.d.ts.map +0 -1
  118. package/dist/types/components/modal/modal.d.ts +0 -75
  119. package/dist/types/components/modal/modal.d.ts.map +0 -1
  120. package/dist/types/components/navigation/index.d.ts +0 -3
  121. package/dist/types/components/navigation/index.d.ts.map +0 -1
  122. package/dist/types/components/navigation/side-navigation-item.d.ts +0 -33
  123. package/dist/types/components/navigation/side-navigation-item.d.ts.map +0 -1
  124. package/dist/types/components/navigation/side-navigation.d.ts +0 -23
  125. package/dist/types/components/navigation/side-navigation.d.ts.map +0 -1
  126. package/dist/types/components/pagination-utils.d.ts +0 -2
  127. package/dist/types/components/pagination-utils.d.ts.map +0 -1
  128. package/dist/types/components/pagination.d.ts +0 -106
  129. package/dist/types/components/pagination.d.ts.map +0 -1
  130. package/dist/types/components/popover.d.ts +0 -188
  131. package/dist/types/components/popover.d.ts.map +0 -1
  132. package/dist/types/components/record-field/index.d.ts +0 -5
  133. package/dist/types/components/record-field/index.d.ts.map +0 -1
  134. package/dist/types/components/record-field/record-field-label.d.ts +0 -22
  135. package/dist/types/components/record-field/record-field-label.d.ts.map +0 -1
  136. package/dist/types/components/record-field/record-field.const.d.ts +0 -5
  137. package/dist/types/components/record-field/record-field.const.d.ts.map +0 -1
  138. package/dist/types/components/record-field/record-field.d.ts +0 -67
  139. package/dist/types/components/record-field/record-field.d.ts.map +0 -1
  140. package/dist/types/components/record-field/record-field.styles.d.ts +0 -4
  141. package/dist/types/components/record-field/record-field.styles.d.ts.map +0 -1
  142. package/dist/types/components/record-field/record-field.types.d.ts +0 -27
  143. package/dist/types/components/record-field/record-field.types.d.ts.map +0 -1
  144. package/dist/types/components/record-row.d.ts +0 -37
  145. package/dist/types/components/record-row.d.ts.map +0 -1
  146. package/dist/types/components/tabs/index.d.ts +0 -37
  147. package/dist/types/components/tabs/index.d.ts.map +0 -1
  148. package/dist/types/components/tabs/panel.d.ts +0 -29
  149. package/dist/types/components/tabs/panel.d.ts.map +0 -1
  150. package/dist/types/components/tabs/tab-bar.d.ts +0 -36
  151. package/dist/types/components/tabs/tab-bar.d.ts.map +0 -1
  152. package/dist/types/components/tabs/tab-events.d.ts +0 -11
  153. package/dist/types/components/tabs/tab-events.d.ts.map +0 -1
  154. package/dist/types/components/tabs/tab.d.ts +0 -34
  155. package/dist/types/components/tabs/tab.d.ts.map +0 -1
  156. package/dist/types/components/tooltip.d.ts +0 -66
  157. package/dist/types/components/tooltip.d.ts.map +0 -1
  158. package/dist/types/components/virtual-list.d.ts +0 -195
  159. package/dist/types/components/virtual-list.d.ts.map +0 -1
  160. package/dist/types/helpers/css-helpers.d.ts +0 -34
  161. package/dist/types/helpers/css-helpers.d.ts.map +0 -1
  162. package/dist/types/helpers/index.d.ts +0 -2
  163. package/dist/types/helpers/index.d.ts.map +0 -1
  164. package/dist/types/layout/flex.d.ts +0 -49
  165. package/dist/types/layout/flex.d.ts.map +0 -1
  166. package/dist/types/layout/footer.d.ts +0 -23
  167. package/dist/types/layout/footer.d.ts.map +0 -1
  168. package/dist/types/layout/grid/grid-item.d.ts +0 -43
  169. package/dist/types/layout/grid/grid-item.d.ts.map +0 -1
  170. package/dist/types/layout/grid/grid.d.ts +0 -50
  171. package/dist/types/layout/grid/grid.d.ts.map +0 -1
  172. package/dist/types/layout/grid/index.d.ts +0 -3
  173. package/dist/types/layout/grid/index.d.ts.map +0 -1
  174. package/dist/types/layout/header-footer-page.d.ts +0 -23
  175. package/dist/types/layout/header-footer-page.d.ts.map +0 -1
  176. package/dist/types/layout/header.d.ts +0 -25
  177. package/dist/types/layout/header.d.ts.map +0 -1
  178. package/dist/types/layout/index.d.ts +0 -9
  179. package/dist/types/layout/index.d.ts.map +0 -1
  180. package/dist/types/layout/page-header.d.ts +0 -53
  181. package/dist/types/layout/page-header.d.ts.map +0 -1
  182. package/dist/types/layout/responsive-columns.d.ts +0 -23
  183. package/dist/types/layout/responsive-columns.d.ts.map +0 -1
  184. package/dist/types/layout/split-row.d.ts +0 -84
  185. package/dist/types/layout/split-row.d.ts.map +0 -1
  186. package/dist/types/main.d.ts +0 -7
  187. package/dist/types/main.d.ts.map +0 -1
  188. package/dist/types/mixins/component-utils.d.ts +0 -18
  189. package/dist/types/mixins/component-utils.d.ts.map +0 -1
  190. package/dist/types/mixins/index.d.ts +0 -2
  191. package/dist/types/mixins/index.d.ts.map +0 -1
  192. package/dist/types/storybook/colors.stories.d.ts +0 -20
  193. package/dist/types/storybook/colors.stories.d.ts.map +0 -1
  194. package/dist/types/styles/borders.d.ts +0 -2
  195. package/dist/types/styles/borders.d.ts.map +0 -1
  196. package/dist/types/styles/breakpoints.d.ts +0 -15
  197. package/dist/types/styles/breakpoints.d.ts.map +0 -1
  198. package/dist/types/styles/colors.d.ts +0 -176
  199. package/dist/types/styles/colors.d.ts.map +0 -1
  200. package/dist/types/styles/global-styles.d.ts +0 -18
  201. package/dist/types/styles/global-styles.d.ts.map +0 -1
  202. package/dist/types/styles/index.d.ts +0 -3
  203. package/dist/types/styles/index.d.ts.map +0 -1
  204. package/dist/types/styles/legacy-scoped-variables.d.ts +0 -17
  205. package/dist/types/styles/legacy-scoped-variables.d.ts.map +0 -1
  206. package/dist/types/styles/shadows.d.ts +0 -2
  207. package/dist/types/styles/shadows.d.ts.map +0 -1
  208. package/dist/types/styles/spacing.d.ts +0 -7
  209. package/dist/types/styles/spacing.d.ts.map +0 -1
  210. package/dist/types/styles/typography.d.ts +0 -2
  211. package/dist/types/styles/typography.d.ts.map +0 -1
  212. package/dist/types/styles/z-index.d.ts +0 -2
  213. package/dist/types/styles/z-index.d.ts.map +0 -1
  214. package/dist/types/surfaces/card/card-footer.d.ts +0 -15
  215. package/dist/types/surfaces/card/card-footer.d.ts.map +0 -1
  216. package/dist/types/surfaces/card/card-header.d.ts +0 -16
  217. package/dist/types/surfaces/card/card-header.d.ts.map +0 -1
  218. package/dist/types/surfaces/card/card-section-header.d.ts +0 -15
  219. package/dist/types/surfaces/card/card-section-header.d.ts.map +0 -1
  220. package/dist/types/surfaces/card/card.const.d.ts +0 -5
  221. package/dist/types/surfaces/card/card.const.d.ts.map +0 -1
  222. package/dist/types/surfaces/card/card.d.ts +0 -33
  223. package/dist/types/surfaces/card/card.d.ts.map +0 -1
  224. package/dist/types/surfaces/card/card.styles.d.ts +0 -5
  225. package/dist/types/surfaces/card/card.styles.d.ts.map +0 -1
  226. package/dist/types/surfaces/card/card.types.d.ts +0 -49
  227. package/dist/types/surfaces/card/card.types.d.ts.map +0 -1
  228. package/dist/types/surfaces/card/index.d.ts +0 -7
  229. package/dist/types/surfaces/card/index.d.ts.map +0 -1
  230. package/dist/types/surfaces/index.d.ts +0 -3
  231. package/dist/types/surfaces/index.d.ts.map +0 -1
  232. package/dist/types/surfaces/paper.d.ts +0 -29
  233. package/dist/types/surfaces/paper.d.ts.map +0 -1
  234. package/dist/types/types.d.ts +0 -11
  235. package/dist/types/types.d.ts.map +0 -1
  236. package/dist/types/utils/findParentWithType.d.ts +0 -4
  237. package/dist/types/utils/findParentWithType.d.ts.map +0 -1
  238. package/dist/types/utils/index.d.ts +0 -3
  239. package/dist/types/utils/index.d.ts.map +0 -1
  240. package/dist/types/utils/lit-utils.d.ts +0 -29
  241. package/dist/types/utils/lit-utils.d.ts.map +0 -1
  242. package/dist/types/utils/test-utils.d.ts +0 -72
  243. package/dist/types/utils/test-utils.d.ts.map +0 -1
@@ -1,36 +0,0 @@
1
- import { LabeledInput, ILabeledInputAttributes } from './labeled-input';
2
- import type { IconKey } from '../icon';
3
- export interface IInputTextBaseAttributes<T> extends ILabeledInputAttributes<T> {
4
- placeholder?: string;
5
- readonly?: boolean;
6
- 'leading-icon'?: IconKey;
7
- 'trailing-icon'?: IconKey;
8
- }
9
- /**
10
- * Base class for text-like fields (text, textarea, number). Applies base styling to the element
11
- * and sets up common properties.
12
- */
13
- export declare class InputTextBase<T> extends LabeledInput<T> {
14
- static styles: import("lit").CSSResult[];
15
- /**
16
- * Toggles the readonly state
17
- */
18
- readonly: boolean;
19
- /**
20
- * Adds placeholder text to input
21
- */
22
- placeholder?: string;
23
- /**
24
- * Puts the supplied icon inside of the input at the leading edge
25
- */
26
- leadingIcon?: IconKey;
27
- /**
28
- * Puts the supplied icon inside of the input at the trailing edge
29
- */
30
- trailingIcon?: IconKey;
31
- /**
32
- * Creates a container to handle layout of optional leading/trailing icons.
33
- */
34
- renderInputContainer(): import("lit-html").TemplateResult<1>;
35
- }
36
- //# sourceMappingURL=input-text-base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-text-base.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-text-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAmGtC,MAAM,WAAW,wBAAwB,CAAC,CAAC,CACzC,SAAQ,uBAAuB,CAAC,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;;GAGG;AACH,qBAAa,aAAa,CAAC,CAAC,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IACnD,MAAM,CAAC,MAAM,4BAAgD;IAE7D;;OAEG;IAEH,QAAQ,UAAQ;IAEhB;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IAEH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IAEH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,oBAAoB;CAgBrB"}
@@ -1,38 +0,0 @@
1
- import { JSXProps } from '../../types';
2
- import { BaseInputChangeEventPayload, InputChangeEvent } from './input-base';
3
- import { IInputTextBaseAttributes, InputTextBase } from './input-text-base';
4
- import { InputSizes } from './labeled-input';
5
- export declare const INPUT_TEXT: "brz-input-text";
6
- export type TextChangeEvent = InputChangeEvent<BaseInputChangeEventPayload<string>>;
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- [INPUT_TEXT]: JSXProps<InputText, IInputTextAttributes>;
11
- }
12
- }
13
- interface HTMLElementTagNameMap {
14
- [INPUT_TEXT]: InputText;
15
- }
16
- }
17
- export interface IInputTextAttributes extends IInputTextBaseAttributes<string> {
18
- maxlength?: number;
19
- }
20
- /**
21
- * Text input component.
22
- *
23
- * @slot label Text for label slot
24
- * @slot error Text for error slot
25
- *
26
- * @tag brz-input-text
27
- */
28
- export declare class InputText extends InputTextBase<string> {
29
- static styles: import("lit").CSSResult[];
30
- value?: string;
31
- size: InputSizes;
32
- /**
33
- * Sets the max number of characters
34
- */
35
- maxlength?: number;
36
- renderInput(): import("lit-html").TemplateResult<1>;
37
- }
38
- //# sourceMappingURL=input-text.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-text.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-text.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,eAAO,MAAM,UAAU,kBAAkC,CAAA;AAEzD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAC5C,2BAA2B,CAAC,MAAM,CAAC,CACpC,CAAA;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAA;SACxD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,UAAU,CAAC,EAAE,SAAS,CAAA;KACxB;CACF;AAED,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB,CAAC,MAAM,CAAC;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,qBACa,SAAU,SAAQ,aAAa,CAAC,MAAM,CAAC;IAClD,MAAM,CAAC,MAAM,4BAOZ;IAGD,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,IAAI,EAAE,UAAU,CAAW;IAE3B;;OAEG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,WAAW;CAeZ"}
@@ -1,39 +0,0 @@
1
- import { JSXProps } from '../../types';
2
- import { BaseInputChangeEventPayload, InputChangeEvent } from './input-base';
3
- import { IInputTextBaseAttributes, InputTextBase } from './input-text-base';
4
- import { InputSizes } from './labeled-input';
5
- export declare const INPUT_TEXTAREA: "brz-input-textarea";
6
- export type TextareaChangeEvent = InputChangeEvent<BaseInputChangeEventPayload<string>>;
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- [INPUT_TEXTAREA]: JSXProps<InputTextarea, IInputTextareaAttributes>;
11
- }
12
- }
13
- interface HTMLElementTagNameMap {
14
- [INPUT_TEXTAREA]: InputTextarea;
15
- }
16
- }
17
- export interface IInputTextareaAttributes extends IInputTextBaseAttributes<string> {
18
- maxlength?: number;
19
- }
20
- /**
21
- * Textarea input component.
22
- *
23
- * @slot label Text for label slot
24
- * @slot error Text for error slot
25
- *
26
- * @tag brz-input-textarea
27
- */
28
- export declare class InputTextarea extends InputTextBase<string> {
29
- static styles: import("lit").CSSResult[];
30
- value?: string;
31
- size: InputSizes;
32
- /**
33
- * Sets the max number of characters
34
- */
35
- maxlength?: number;
36
- renderGuide(): import("lit-html").TemplateResult<1> | null;
37
- renderInput(): import("lit-html").TemplateResult<1>;
38
- }
39
- //# sourceMappingURL=input-textarea.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-textarea.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,eAAO,MAAM,cAAc,sBAAsC,CAAA;AAEjE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAChD,2BAA2B,CAAC,MAAM,CAAC,CACpC,CAAA;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC,CAAA;SACpE;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,cAAc,CAAC,EAAE,aAAa,CAAA;KAChC;CACF;AAED,MAAM,WAAW,wBACf,SAAQ,wBAAwB,CAAC,MAAM,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,qBACa,aAAc,SAAQ,aAAa,CAAC,MAAM,CAAC;IACtD,MAAM,CAAC,MAAM,4BAQZ;IAGD,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,IAAI,EAAE,UAAU,CAAY;IAE5B;;OAEG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,WAAW;IAYX,WAAW;CAcZ"}
@@ -1,106 +0,0 @@
1
- import { MenuItem } from '../menu';
2
- import { InputSelect, IInputSelectAttributes } from './input-select';
3
- import { InputSelectOptionInternal } from './input-select-base';
4
- import type { JSXProps } from '../../types';
5
- export declare const INPUT_TIME: "brz-input-time";
6
- export declare const TIME_FORMAT = "h:mmaaa";
7
- export declare const TIME_REGEX_LOOSE: RegExp;
8
- export declare const TIME_REGEX_24H: RegExp;
9
- export declare const TIME_REGEX_12H: RegExp;
10
- export type InputSelectQueryHandler = (query: string, item: MenuItem) => boolean;
11
- export type TimeSuffix = typeof timeSuffixes[number];
12
- export declare const timeSuffixes: readonly ["UTC", "AEST"];
13
- export interface IInputTimeAttributes extends IInputSelectAttributes {
14
- increment?: number;
15
- suffix?: TimeSuffix;
16
- 'is-freeform'?: boolean;
17
- }
18
- declare global {
19
- namespace JSX {
20
- interface IntrinsicElements {
21
- [INPUT_TIME]: JSXProps<InputTime, IInputTimeAttributes>;
22
- }
23
- }
24
- interface HTMLElementTagNameMap {
25
- [INPUT_TIME]: InputTime;
26
- }
27
- }
28
- /**
29
- * InputTime is a convenient time-based preset of InputSelect.
30
- *
31
- * Renders a select field containing a list of incremental time options in 12hr
32
- * format starting at 12:00am. Optionally allows freeform entry of non-preset
33
- * options, if valid.
34
- *
35
- * Applies custom query matchers to handle fuzzy times, returning 12hr formatted
36
- * options for 24hr queries (e.g. 2145, 21:45) and short times (e.g. 10am).
37
- *
38
- * @slot label Text for label slot
39
- * @slot error Text for error slot
40
- *
41
- * @tag brz-input-time
42
- */
43
- export declare class InputTime extends InputSelect {
44
- canSearch: boolean;
45
- /**
46
- * Number of minutes between each option
47
- */
48
- increment: number;
49
- /**
50
- * Optional timezone suffix
51
- */
52
- suffix?: TimeSuffix;
53
- /**
54
- * Enables freeform entry of options not in the list
55
- */
56
- isFreeform: boolean;
57
- placeholder: string;
58
- trailingIcon: string;
59
- /**
60
- * @internal
61
- */
62
- private freeformOptions;
63
- /**
64
- * Builds time presets and assigns to the options on mount
65
- */
66
- connectedCallback(): void;
67
- /**
68
- * Empties the freeform options state
69
- */
70
- resetFreeformOptions(): void;
71
- /**
72
- * Resets freeform options when the dropdown is closed
73
- */
74
- handleCloseDropdown(): void;
75
- /**
76
- * Overrides the base method to include freeform options in interactions which
77
- * depend on this method.
78
- */
79
- getItems(): InputSelectOptionInternal<string>[];
80
- /**
81
- * Overrides the InputSelect method to account for possible freeform options
82
- * when setting the value label.
83
- */
84
- protected handleValueChange(): void;
85
- /**
86
- * Applies custom query logic to handle fuzzy time formatting.
87
- */
88
- protected isCustomQueryMatch(item: MenuItem): boolean;
89
- /**
90
- * Intercepts the "no results" state to handle freeform options if the feature
91
- * is enabled. Attempts to build a new list of options based on the current
92
- * query value, and toggles the state based on that result.
93
- */
94
- private handleNoResults;
95
- /**
96
- * Renders a list of freeform options, if any, or a no results message if the
97
- * freeform query doesn't evaluate to a valid time.
98
- */
99
- private renderFreeformOptions;
100
- /**
101
- * Overrides the default select dropdown to include a list of freeform options
102
- * if the feature is enabled.
103
- */
104
- protected renderDropdownContent(): import("lit-html").TemplateResult<1>;
105
- }
106
- //# sourceMappingURL=input-time.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-time.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-time.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAA;AACpE,OAAO,EAEL,yBAAyB,EAC1B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,eAAO,MAAM,UAAU,kBAAkC,CAAA;AAEzD,eAAO,MAAM,WAAW,YAAY,CAAA;AAEpC,eAAO,MAAM,gBAAgB,QACwB,CAAA;AACrD,eAAO,MAAM,cAAc,QAAuB,CAAA;AAClD,eAAO,MAAM,cAAc,QAAsB,CAAA;AAEjD,MAAM,MAAM,uBAAuB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAA;AAEhF,MAAM,MAAM,UAAU,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAA;AAEpD,eAAO,MAAM,YAAY,0BAA2B,CAAA;AAEpD,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAA;SACxD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,UAAU,CAAC,EAAE,SAAS,CAAA;KACxB;CACF;AA6GD;;;;;;;;;;;;;;GAcG;AACH,qBACa,SAAU,SAAQ,WAAW;IAExC,SAAS,UAAO;IAEhB;;OAEG;IAEH,SAAS,SAAK;IAEd;;OAEG;IAEH,MAAM,CAAC,EAAE,UAAU,CAAA;IAEnB;;OAEG;IAEH,UAAU,UAAQ;IAGlB,WAAW,SAAgB;IAG3B,YAAY,SAAS;IAErB;;OAEG;IAEH,OAAO,CAAC,eAAe,CAAkC;IAEzD;;OAEG;IACH,iBAAiB;IAKjB;;OAEG;IACH,oBAAoB;IAIpB;;OAEG;IACH,mBAAmB;IAKnB;;;OAGG;IACH,QAAQ;IAOR;;;OAGG;IACH,SAAS,CAAC,iBAAiB;IAW3B;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO;IAIrD;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAWvB;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAO7B;;;OAGG;IACH,SAAS,CAAC,qBAAqB;CAMhC"}
@@ -1,93 +0,0 @@
1
- import { PropertyValues, TemplateResult } from 'lit';
2
- import { RecordFieldLabel, InputSizes, LabelPosition, RecordFieldImpl } from '../record-field';
3
- import { InputBase, IInputBaseAttributes } from './input-base';
4
- import type { JSXProps } from '../../types';
5
- import './input-guide';
6
- import './input-error';
7
- export { type InputSizes } from '../record-field';
8
- export declare const LABELED_INPUT: "brz-labeled-input";
9
- export declare const INPUT_LABEL: "brz-input-label";
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- [INPUT_LABEL]: JSXProps<InputLabel>;
14
- [LABELED_INPUT]: JSXProps<LabeledInput<unknown>, ILabeledInputAttributes<unknown>>;
15
- }
16
- }
17
- interface HTMLElementTagNameMap {
18
- [INPUT_LABEL]: InputLabel;
19
- [LABELED_INPUT]: LabeledInput<unknown>;
20
- }
21
- }
22
- export interface ILabeledInputAttributes<T> extends IInputBaseAttributes<T> {
23
- 'label-position'?: LabelPosition;
24
- optional?: boolean;
25
- size?: InputSizes;
26
- }
27
- /**
28
- * Base class for inputs that require a label and or error message.
29
- * When implementing this class, the render method becomes `renderInput`.
30
- * If you need to render a guide.. i.e. character count, use `renderGuide`.
31
- * Can also be used directly to wrap custom inputs for consistent layout.
32
- *
33
- * @slot label Text for label slot
34
- * @slot error Text for error slot
35
- * @slot prompt Text for the prompt slot
36
- *
37
- * @tag brz-labeled-input
38
- */
39
- export declare class LabeledInput<T> extends InputBase<T> implements RecordFieldImpl {
40
- static styles: import("lit").CSSResult[];
41
- /**
42
- * The position of the supplied label
43
- */
44
- labelPosition: LabelPosition;
45
- /**
46
- * The size of the input
47
- */
48
- size: InputSizes;
49
- /**
50
- * Indicates that the input value is optional. Appends "(optional)" text to
51
- * the label.
52
- *
53
- * If the input is already `required`, this does nothing.
54
- */
55
- optional: boolean;
56
- /**
57
- * @internal
58
- */
59
- protected hasPrompt: boolean;
60
- /**
61
- * @internal
62
- */
63
- protected hasError: boolean;
64
- /** @internal */
65
- private hasLabel;
66
- /** @internal */
67
- private label;
68
- /** @internal */
69
- private prompt;
70
- updated(changedProperties: PropertyValues): void;
71
- handleErrorChange(): void;
72
- renderInput(): TemplateResult | null;
73
- /**
74
- * Some fields need an extra containing element around the input itself and
75
- * other elements to handle special layouts, such as icons. Use this method
76
- * to create that structural layer if needed.
77
- */
78
- renderInputContainer(): TemplateResult<1 | 2> | null;
79
- renderGuide(): TemplateResult | null;
80
- /** @internal */
81
- private get labelFlag();
82
- render(): TemplateResult<1>;
83
- }
84
- /**
85
- * Input label component
86
- *
87
- * @deprecated Use brz-record-field-label
88
- *
89
- * @tag brz-input-label
90
- */
91
- export declare class InputLabel extends RecordFieldLabel {
92
- }
93
- //# sourceMappingURL=labeled-input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labeled-input.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/labeled-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAA;AAI/D,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,eAAe,EAChB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,eAAe,CAAA;AACtB,OAAO,eAAe,CAAA;AAEtB,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,eAAO,MAAM,aAAa,qBAAqC,CAAA;AAC/D,eAAO,MAAM,WAAW,mBAAmC,CAAA;AAE3D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;YACnC,CAAC,aAAa,CAAC,EAAE,QAAQ,CACvB,YAAY,CAAC,OAAO,CAAC,EACrB,uBAAuB,CAAC,OAAO,CAAC,CACjC,CAAA;SACF;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,WAAW,CAAC,EAAE,UAAU,CAAA;QACzB,CAAC,aAAa,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAA;KACvC;CACF;AAkBD,MAAM,WAAW,uBAAuB,CAAC,CAAC,CAAE,SAAQ,oBAAoB,CAAC,CAAC,CAAC;IACzE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB;AAED;;;;;;;;;;;GAWG;AACH,qBACa,YAAY,CAAC,CAAC,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAE,YAAW,eAAe;IAC1E,MAAM,CAAC,MAAM,4BAmBZ;IAED;;OAEG;IAEH,aAAa,EAAE,aAAa,CAAQ;IAEpC;;OAEG;IAEH,IAAI,EAAE,UAAU,CAAW;IAE3B;;;;;OAKG;IAEH,QAAQ,UAAQ;IAEhB;;OAEG;IAEH,SAAS,CAAC,SAAS,UAAQ;IAE3B;;OAEG;IAEH,SAAS,CAAC,QAAQ,UAAQ;IAE1B,gBAAgB;IACP,OAAO,CAAC,QAAQ,CAAQ;IAEjC,gBAAgB;IAEhB,OAAO,CAAC,KAAK,CAAgB;IAE7B,gBAAgB;IAEhB,OAAO,CAAC,MAAM,CAAgB;IAE9B,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAMzC,iBAAiB;IAOjB,WAAW,IAAI,cAAc,GAAG,IAAI;IAIpC;;;;OAIG;IACH,oBAAoB;IAIpB,WAAW,IAAI,cAAc,GAAG,IAAI;IAIpC,gBAAgB;IAChB,OAAO,KAAK,SAAS,GAWpB;IAED,MAAM;CAqCP;AAED;;;;;;GAMG;AACH,qBACa,UAAW,SAAQ,gBAAgB;CAAG"}
@@ -1,32 +0,0 @@
1
- import { LitElement } from 'lit';
2
- import { JSXProps } from '../types';
3
- export declare const HEADING: "brz-heading";
4
- export type HeadingSize = '3xl' | '2xl' | 'xl' | 'lg' | 'base' | 'sm';
5
- export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
6
- export interface HeadingProps {
7
- size: HeadingSize;
8
- level?: HeadingLevel;
9
- }
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- [HEADING]: JSXProps<Heading, HeadingProps>;
14
- }
15
- }
16
- interface HTMLElementTagNameMap {
17
- [HEADING]: Heading;
18
- }
19
- }
20
- /**
21
- * Heading component.
22
- *
23
- * @tag brz-heading
24
- */
25
- export declare class Heading extends LitElement {
26
- static styles: import("lit").CSSResult;
27
- size: HeadingSize;
28
- level?: HeadingLevel;
29
- private getLevel;
30
- render(): import("lit-html").TemplateResult<1>;
31
- }
32
- //# sourceMappingURL=heading.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/components/heading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,eAAO,MAAM,OAAO,eAA+B,CAAA;AAEnD,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;AACrE,MAAM,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAEhD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;SAC3C;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KACnB;CACF;AAED;;;;GAIG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,0BA6CZ;IAGD,IAAI,EAAE,WAAW,CAAS;IAG1B,KAAK,CAAC,EAAE,YAAY,CAAA;IAEpB,OAAO,CAAC,QAAQ;IAkBhB,MAAM;CAkBP"}
@@ -1,30 +0,0 @@
1
- import { LitElement } from 'lit';
2
- import { JSXProps } from '../../types';
3
- import { IconKey } from './icons';
4
- export declare const ICON: "brz-icon";
5
- export interface IconProps {
6
- icon: IconKey;
7
- size?: number;
8
- }
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- [ICON]: JSXProps<Icon, IconProps>;
13
- }
14
- }
15
- interface HTMLElementTagNameMap {
16
- [ICON]: Icon;
17
- }
18
- }
19
- /**
20
- * Icon component.
21
- *
22
- * @tag brz-icon
23
- */
24
- export declare class Icon extends LitElement {
25
- static styles: import("lit").CSSResult;
26
- size: number;
27
- icon: IconKey;
28
- render(): import("lit-html").TemplateResult<1>;
29
- }
30
- //# sourceMappingURL=icon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAS,OAAO,EAAiB,MAAM,SAAS,CAAA;AAEvD,eAAO,MAAM,IAAI,YAA4B,CAAA;AAE7C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;SAClC;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,IAAI,CAAC,EAAE,IAAI,CAAA;KACb;CACF;AAED;;;;GAIG;AACH,qBACa,IAAK,SAAQ,UAAU;IAClC,MAAM,CAAC,MAAM,0BASZ;IAGD,IAAI,SAAK;IAGT,IAAI,EAAE,OAAO,CAAU;IAEvB,MAAM;CAcP"}
@@ -1,16 +0,0 @@
1
- import { SVGTemplateResult } from 'lit';
2
- import { ILegacyIcon } from './legacy-icons';
3
- export type TIcon = SVGTemplateResult;
4
- /**
5
- * Ensures compatibility between icons and legacy icons. By providing the
6
- * default viewBox to icons.
7
- */
8
- export declare const transformIcon: (icon: TIcon | ILegacyIcon) => ILegacyIcon;
9
- /**
10
- * All icons should have a `viewBox` of "0 0 18 18". If they don't they are a legacy icon. Add them to the legacyIcons constant.
11
- * in './legacy-icons'.
12
- */
13
- export declare const icons: Record<string, TIcon | ILegacyIcon>;
14
- export type IconKey = keyof typeof icons;
15
- export declare const iconNames: string[];
16
- //# sourceMappingURL=icons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,iBAAiB,EAAE,MAAM,KAAK,CAAA;AAC5C,OAAO,EAAE,WAAW,EAA6B,MAAM,gBAAgB,CAAA;AAEvE,MAAM,MAAM,KAAK,GAAG,iBAAiB,CAAA;AAIrC;;;GAGG;AACH,eAAO,MAAM,aAAa,SAAU,KAAK,GAAG,WAAW,gBAGtD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,GAAG,WAAW,CA2oBrD,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,KAAK,CAAA;AACxC,eAAO,MAAM,SAAS,UAAkC,CAAA"}
@@ -1,3 +0,0 @@
1
- export * from './icon';
2
- export * from './icons';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA"}
@@ -1,9 +0,0 @@
1
- import { SVGTemplateResult } from 'lit';
2
- import { TIcon } from './icons';
3
- export interface ILegacyIcon {
4
- svg: SVGTemplateResult;
5
- viewBox: string;
6
- }
7
- export declare const isLegacyIcon: (icon: ILegacyIcon | TIcon) => icon is ILegacyIcon;
8
- export declare const legacyIcons: Record<string, ILegacyIcon>;
9
- //# sourceMappingURL=legacy-icons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"legacy-icons.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/legacy-icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAO,MAAM,KAAK,CAAA;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,iBAAiB,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,YAAY,SAAU,WAAW,GAAG,KAAK,wBACT,CAAA;AAE7C,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAicnD,CAAA"}
@@ -1,41 +0,0 @@
1
- import { LitElement } from 'lit';
2
- import { JSXProps } from '../../types';
3
- import { IllustrationKey } from './illustrations';
4
- export declare const ILLUSTRATION: "brz-illustration";
5
- export interface IllustrationProps {
6
- illustration: IllustrationKey;
7
- 'alt-description'?: string;
8
- 'alt-title'?: string;
9
- }
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- [ILLUSTRATION]: JSXProps<Illustration, IllustrationProps>;
14
- }
15
- }
16
- interface HTMLElementTagNameMap {
17
- [ILLUSTRATION]: Illustration;
18
- }
19
- }
20
- /**
21
- * Illustration component.
22
- *
23
- * @tag brz-illustration
24
- */
25
- export declare class Illustration extends LitElement {
26
- static styles: import("lit").CSSResult;
27
- /**
28
- * Sets the illustration
29
- */
30
- illustration: string;
31
- /**
32
- * Sets the alt title, which aides screen readers.
33
- */
34
- altTitle: string;
35
- /**
36
- * Sets the alt description, which aides screen readers.
37
- */
38
- altDescription: string;
39
- render(): import("lit-html").TemplateResult<1> | undefined;
40
- }
41
- //# sourceMappingURL=illustration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"illustration.d.ts","sourceRoot":"","sources":["../../../../src/components/illustration/illustration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAiB,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEhE,eAAO,MAAM,YAAY,oBAAoC,CAAA;AAE7D,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,eAAe,CAAA;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAA;SAC1D;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,YAAY,CAAC,EAAE,YAAY,CAAA;KAC7B;CACF;AAED;;;;GAIG;AACH,qBACa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BAKZ;IACD;;OAEG;IAEH,YAAY,SAAK;IAEjB;;OAEG;IAEH,QAAQ,SAAK;IAEb;;OAEG;IAEH,cAAc,SAAK;IAEnB,MAAM;CAyBP"}
@@ -1,6 +0,0 @@
1
- import { SVGTemplateResult } from 'lit';
2
- export type TIllustration = SVGTemplateResult;
3
- export declare const illustrations: Record<string, TIllustration>;
4
- export type IllustrationKey = keyof typeof illustrations;
5
- export declare const illustrationNames: string[];
6
- //# sourceMappingURL=illustrations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"illustrations.d.ts","sourceRoot":"","sources":["../../../../src/components/illustration/illustrations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,iBAAiB,EAAE,MAAM,KAAK,CAAA;AAE5C,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAA;AAE7C,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAoHvD,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,aAAa,CAAA;AACxD,eAAO,MAAM,iBAAiB,UAAkD,CAAA"}
@@ -1,3 +0,0 @@
1
- export * from './illustration';
2
- export * from './illustrations';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/illustration/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA"}
@@ -1,27 +0,0 @@
1
- export * from './avatar';
2
- export * from './button';
3
- export * from './combo-box';
4
- export * from './confirmation-dialog';
5
- export * from './dropdown-button';
6
- export * from './form-elements';
7
- export * from './heading';
8
- export * from './icon';
9
- export * from './inline-edit';
10
- export * from './link';
11
- export * from './loading';
12
- export * from './lozenge';
13
- export * from './menu';
14
- export * from './modal';
15
- export * from './navigation';
16
- export * from './popover';
17
- export * from './record-field';
18
- export * from './record-row';
19
- export * from './tabs';
20
- export * from './tooltip';
21
- export * from './badge';
22
- export * from './pagination';
23
- export * from './alert';
24
- export * from './virtual-list';
25
- export * from './illustration';
26
- export * from './legacy-scoped-components';
27
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA"}
@@ -1,7 +0,0 @@
1
- export * from './inline-edit-controls';
2
- export * from './inline-edit-group';
3
- export * from './inline-edit-field';
4
- export * from './inline-edit.const';
5
- export * from './inline-edit.types';
6
- export * from './inline-edit.events';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA"}
@@ -1,29 +0,0 @@
1
- import { LitElement } from 'lit';
2
- import { InlineEditControlsMode } from './inline-edit.types';
3
- import '../../layout/flex';
4
- import '../button';
5
- /**
6
- * Renders Save/Cancel buttons for an InlineEditField or InlineEditGroup. This
7
- * happens automatically, so this component is only useful when you need to
8
- * make layout customizations and reimplement it.
9
- *
10
- * Dispatches events when the Save/Cancel buttons are clicked.
11
- *
12
- * @fires {InlineEditControlsCancelEvent} brz-inline-edit-controls-cancel When the Cancel button is clicked
13
- * @fires {InlineEditControlsSaveEvent} brz-inline-edit-controls-save When the Save button is clicked
14
- *
15
- * @slot error Something to render below the controls when in "error" mode
16
- *
17
- * @tag brz-inline-edit-controls
18
- */
19
- export declare class InlineEditControls extends LitElement {
20
- static styles: import("lit").CSSResult[];
21
- /**
22
- * The current mode of the controls.
23
- */
24
- mode: InlineEditControlsMode;
25
- private handleCancelClick;
26
- private handleSaveClick;
27
- render(): import("lit-html").TemplateResult<1>;
28
- }
29
- //# sourceMappingURL=inline-edit-controls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inline-edit-controls.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAA;AAStC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,mBAAmB,CAAA;AAC1B,OAAO,WAAW,CAAA;AAElB;;;;;;;;;;;;;GAaG;AACH,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAA6B;IAE1C;;OAEG;IAEH,IAAI,EAAE,sBAAsB,CAAS;IAErC,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,eAAe;IAIvB,MAAM;CA8BP"}