@orianatech/pire 1.6.0 → 2.0.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 (54) hide show
  1. package/dist/components/forms/ChoiceCardGroup.d.cts +11 -1
  2. package/dist/components/forms/ChoiceCardGroup.d.ts +11 -1
  3. package/dist/components/forms/ChoiceCardGroup.d.ts.map +1 -1
  4. package/dist/components/forms/ComboBox.d.cts +11 -1
  5. package/dist/components/forms/ComboBox.d.ts +11 -1
  6. package/dist/components/forms/ComboBox.d.ts.map +1 -1
  7. package/dist/components/forms/DatePicker.d.cts +11 -1
  8. package/dist/components/forms/DatePicker.d.ts +11 -1
  9. package/dist/components/forms/DatePicker.d.ts.map +1 -1
  10. package/dist/components/forms/DateRangePicker.d.cts +11 -1
  11. package/dist/components/forms/DateRangePicker.d.ts +11 -1
  12. package/dist/components/forms/DateRangePicker.d.ts.map +1 -1
  13. package/dist/components/forms/FieldDescription.d.cts +16 -0
  14. package/dist/components/forms/FieldDescription.d.ts +17 -0
  15. package/dist/components/forms/FieldDescription.d.ts.map +1 -0
  16. package/dist/components/forms/FieldHelp.d.cts +19 -0
  17. package/dist/components/forms/FieldHelp.d.ts +20 -0
  18. package/dist/components/forms/FieldHelp.d.ts.map +1 -0
  19. package/dist/components/forms/FieldLabel.d.cts +36 -0
  20. package/dist/components/forms/FieldLabel.d.ts +37 -0
  21. package/dist/components/forms/FieldLabel.d.ts.map +1 -0
  22. package/dist/components/forms/FormField.d.cts +10 -1
  23. package/dist/components/forms/FormField.d.ts +10 -1
  24. package/dist/components/forms/FormField.d.ts.map +1 -1
  25. package/dist/components/forms/Input.d.cts +11 -1
  26. package/dist/components/forms/Input.d.ts +11 -1
  27. package/dist/components/forms/Input.d.ts.map +1 -1
  28. package/dist/components/forms/MultiComboBox.d.cts +11 -1
  29. package/dist/components/forms/MultiComboBox.d.ts +11 -1
  30. package/dist/components/forms/MultiComboBox.d.ts.map +1 -1
  31. package/dist/components/forms/NumberField.d.cts +11 -1
  32. package/dist/components/forms/NumberField.d.ts +11 -1
  33. package/dist/components/forms/NumberField.d.ts.map +1 -1
  34. package/dist/components/forms/Select.d.cts +38 -4
  35. package/dist/components/forms/Select.d.ts +38 -4
  36. package/dist/components/forms/Select.d.ts.map +1 -1
  37. package/dist/components/forms/TextArea.d.cts +11 -1
  38. package/dist/components/forms/TextArea.d.ts +11 -1
  39. package/dist/components/forms/TextArea.d.ts.map +1 -1
  40. package/dist/components/utils/devWarn.d.cts +9 -0
  41. package/dist/components/utils/devWarn.d.ts +10 -0
  42. package/dist/components/utils/devWarn.d.ts.map +1 -0
  43. package/dist/components.css +11 -0
  44. package/dist/i18n/messages.d.cts +13 -1
  45. package/dist/i18n/messages.d.ts +13 -1
  46. package/dist/i18n/messages.d.ts.map +1 -1
  47. package/dist/index.cjs +953 -843
  48. package/dist/index.cjs.map +1 -1
  49. package/dist/index.d.cts +1 -0
  50. package/dist/index.d.ts +1 -0
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +837 -748
  53. package/dist/index.js.map +1 -1
  54. package/package.json +1 -1
@@ -30,6 +30,16 @@ export interface NumberFieldProps<TEmpty extends '' | null = never> {
30
30
  /** Trailing unit shown after the figure: EA, KG, %. */
31
31
  suffix?: React.ReactNode;
32
32
  description?: React.ReactNode;
33
+ /**
34
+ * Contextual explanation, shown as a help icon beside the label and announced as part of the
35
+ * field's description. For the sentence a user needs *occasionally* — `description` is for the
36
+ * one they need every time, and it costs a line of vertical space in every row.
37
+ *
38
+ * Needs a visible `label`: the icon is drawn beside one, so on a field named only by
39
+ * `aria-label` the text still reaches a screen reader through the description but no icon
40
+ * appears. Pire warns in development rather than drawing an icon with nothing to anchor it to.
41
+ */
42
+ help?: React.ReactNode;
33
43
  errorMessage?: React.ReactNode;
34
44
  isInvalid?: boolean;
35
45
  isDisabled?: boolean;
@@ -86,5 +96,5 @@ export interface NumberFieldProps<TEmpty extends '' | null = never> {
86
96
  * Enable the action and validate when it is pressed, surfacing the reason. A disabled control that
87
97
  * does not say why is a worse affordance regardless, so the fix costs nothing.
88
98
  */
89
- export declare function NumberField<TEmpty extends '' | null = never>({ label, suffix, description, errorMessage, hideStepper, stepperLayout, incrementLabel, decrementLabel, size, fullWidth, className, style, value, defaultValue, onChange, emptyValue, isClearable, clearLabel, ...rest }: NumberFieldProps<TEmpty>): React.JSX.Element;
99
+ export declare function NumberField<TEmpty extends '' | null = never>({ label, suffix, description, help, errorMessage, hideStepper, stepperLayout, incrementLabel, decrementLabel, size, fullWidth, className, style, value, defaultValue, onChange, emptyValue, isClearable, clearLabel, ...rest }: NumberFieldProps<TEmpty>): React.JSX.Element;
90
100
  //# sourceMappingURL=NumberField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/components/forms/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgE/B,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,EAAE,GAAG,IAAI,GAAG,KAAK;IAChE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;2FACuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;iFAG6E;IAC7E,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAMtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACrD;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sGAAsG;IACtG,aAAa,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;I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,CAAC;IACrC;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAgDD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,WAAW,CAAC,MAAM,SAAS,EAAE,GAAG,IAAI,GAAG,KAAK,EAAE,EAC5D,KAAK,EACL,MAAM,EACN,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,aAAyB,EACzB,cAAc,EACd,cAAc,EACd,IAAW,EACX,SAAgB,EAChB,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,WAAW,EACX,UAAU,EACV,GAAG,IAAI,EACR,EAAE,gBAAgB,CAAC,MAAM,CAAC,qBAuL1B"}
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  export type SelectOption = string | {
3
3
  value: string;
4
4
  label: string;
@@ -8,10 +8,34 @@ export interface SelectProps {
8
8
  label?: React.ReactNode;
9
9
  value?: string | null;
10
10
  defaultValue?: string;
11
- onChange?: (value: string) => void;
11
+ /**
12
+ * Emits `null` when the field returns to «nothing chosen» — reachable only with `isClearable`,
13
+ * but typed unconditionally, the way React Aria types the `onSelectionChange` below it.
14
+ */
15
+ onChange?: (value: string | null) => void;
12
16
  options?: SelectOption[];
13
- /** Shown when nothing is selected. */
17
+ /**
18
+ * Shown when nothing is selected. Defaults to the dictionary's `selectPlaceholder`; with
19
+ * `isClearable` this is also the visible label of the row that clears the field, so a custom
20
+ * value should read naturally as both.
21
+ */
14
22
  placeholder?: string;
23
+ /**
24
+ * Adds a row at the top of the list that returns the field to «nothing chosen», labelled with
25
+ * `placeholder`.
26
+ *
27
+ * For an optional field this is the difference between a changeable choice and a permanent one:
28
+ * without it the only way back from a wrong pick is to select something else, and there is no
29
+ * "something else" that means *none*. A row rather than a clear button on the control — in a
30
+ * `Select`, unlike a `ComboBox`, the user already expects everything choosable to be in the list.
31
+ *
32
+ * One asymmetry to know about: React Aria suppresses re-picking the key that is already
33
+ * selected, but the clear row is a real row, so choosing it on an already-empty field does emit
34
+ * `onChange(null)` a second time. Deliberate — the row is *visible* on an empty field, and a
35
+ * control that looks pressable and reports nothing is the harder thing to debug. A handler that
36
+ * writes on every call rather than on every change should compare against its own state.
37
+ */
38
+ isClearable?: boolean;
15
39
  /**
16
40
  * Replaces the dictionary's `selectEmpty` inside the popover when `options` is empty. Worth
17
41
  * setting whenever you can say *why* the list is empty — "Pick a company first" beats the
@@ -19,6 +43,16 @@ export interface SelectProps {
19
43
  */
20
44
  emptyLabel?: React.ReactNode;
21
45
  description?: React.ReactNode;
46
+ /**
47
+ * Contextual explanation, shown as a help icon beside the label and announced as part of the
48
+ * field's description. For the sentence a user needs *occasionally* — `description` is for the
49
+ * one they need every time, and it costs a line of vertical space in every row.
50
+ *
51
+ * Needs a visible `label`: the icon is drawn beside one, so on a field named only by
52
+ * `aria-label` the text still reaches a screen reader through the description but no icon
53
+ * appears. Pire warns in development rather than drawing an icon with nothing to anchor it to.
54
+ */
55
+ help?: React.ReactNode;
22
56
  errorMessage?: React.ReactNode;
23
57
  isInvalid?: boolean;
24
58
  isDisabled?: boolean;
@@ -31,4 +65,4 @@ export interface SelectProps {
31
65
  }
32
66
  /** Single-choice picker. Uses a listbox popover rather than a native <select> so the option
33
67
  * rows can carry Pire typography and keyboard behaviour is identical across browsers. */
34
- export declare function Select({ label, value, defaultValue, onChange, options, placeholder, description, errorMessage, emptyLabel, size, fullWidth, className, style, ...rest }: SelectProps): React.JSX.Element;
68
+ export declare function Select({ label, value, defaultValue, onChange, options, placeholder, isClearable, description, help, errorMessage, emptyLabel, size, fullWidth, className, style, ...rest }: SelectProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  export type SelectOption = string | {
3
3
  value: string;
4
4
  label: string;
@@ -8,10 +8,34 @@ export interface SelectProps {
8
8
  label?: React.ReactNode;
9
9
  value?: string | null;
10
10
  defaultValue?: string;
11
- onChange?: (value: string) => void;
11
+ /**
12
+ * Emits `null` when the field returns to «nothing chosen» — reachable only with `isClearable`,
13
+ * but typed unconditionally, the way React Aria types the `onSelectionChange` below it.
14
+ */
15
+ onChange?: (value: string | null) => void;
12
16
  options?: SelectOption[];
13
- /** Shown when nothing is selected. */
17
+ /**
18
+ * Shown when nothing is selected. Defaults to the dictionary's `selectPlaceholder`; with
19
+ * `isClearable` this is also the visible label of the row that clears the field, so a custom
20
+ * value should read naturally as both.
21
+ */
14
22
  placeholder?: string;
23
+ /**
24
+ * Adds a row at the top of the list that returns the field to «nothing chosen», labelled with
25
+ * `placeholder`.
26
+ *
27
+ * For an optional field this is the difference between a changeable choice and a permanent one:
28
+ * without it the only way back from a wrong pick is to select something else, and there is no
29
+ * "something else" that means *none*. A row rather than a clear button on the control — in a
30
+ * `Select`, unlike a `ComboBox`, the user already expects everything choosable to be in the list.
31
+ *
32
+ * One asymmetry to know about: React Aria suppresses re-picking the key that is already
33
+ * selected, but the clear row is a real row, so choosing it on an already-empty field does emit
34
+ * `onChange(null)` a second time. Deliberate — the row is *visible* on an empty field, and a
35
+ * control that looks pressable and reports nothing is the harder thing to debug. A handler that
36
+ * writes on every call rather than on every change should compare against its own state.
37
+ */
38
+ isClearable?: boolean;
15
39
  /**
16
40
  * Replaces the dictionary's `selectEmpty` inside the popover when `options` is empty. Worth
17
41
  * setting whenever you can say *why* the list is empty — "Pick a company first" beats the
@@ -19,6 +43,16 @@ export interface SelectProps {
19
43
  */
20
44
  emptyLabel?: React.ReactNode;
21
45
  description?: React.ReactNode;
46
+ /**
47
+ * Contextual explanation, shown as a help icon beside the label and announced as part of the
48
+ * field's description. For the sentence a user needs *occasionally* — `description` is for the
49
+ * one they need every time, and it costs a line of vertical space in every row.
50
+ *
51
+ * Needs a visible `label`: the icon is drawn beside one, so on a field named only by
52
+ * `aria-label` the text still reaches a screen reader through the description but no icon
53
+ * appears. Pire warns in development rather than drawing an icon with nothing to anchor it to.
54
+ */
55
+ help?: React.ReactNode;
22
56
  errorMessage?: React.ReactNode;
23
57
  isInvalid?: boolean;
24
58
  isDisabled?: boolean;
@@ -31,5 +65,5 @@ export interface SelectProps {
31
65
  }
32
66
  /** Single-choice picker. Uses a listbox popover rather than a native <select> so the option
33
67
  * rows can carry Pire typography and keyboard behaviour is identical across browsers. */
34
- export declare function Select({ label, value, defaultValue, onChange, options, placeholder, description, errorMessage, emptyLabel, size, fullWidth, className, style, ...rest }: SelectProps): React.JSX.Element;
68
+ export declare function Select({ label, value, defaultValue, onChange, options, placeholder, isClearable, description, help, errorMessage, emptyLabel, size, fullWidth, className, style, ...rest }: SelectProps): React.JSX.Element;
35
69
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAgBpC,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE3F,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAA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** Help text below the field. Replaced by errorMessage when invalid. */
10
10
  description?: React.ReactNode;
11
+ /**
12
+ * Contextual explanation, shown as a help icon beside the label and announced as part of the
13
+ * field's description. For the sentence a user needs *occasionally* — `description` is for the
14
+ * one they need every time, and it costs a line of vertical space in every row.
15
+ *
16
+ * Needs a visible `label`: the icon is drawn beside one, so on a field named only by
17
+ * `aria-label` the text still reaches a screen reader through the description but no icon
18
+ * appears. Pire warns in development rather than drawing an icon with nothing to anchor it to.
19
+ */
20
+ help?: React.ReactNode;
11
21
  errorMessage?: React.ReactNode;
12
22
  isInvalid?: boolean;
13
23
  isDisabled?: boolean;
@@ -39,4 +49,4 @@ export interface TextAreaProps {
39
49
  * height is only written when it actually changed, so a keystroke that does not wrap costs no
40
50
  * layout; and the resize grip is removed, since a manual height would be overwritten on the next
41
51
  * keystroke anyway. */
42
- export declare function TextArea({ label, description, errorMessage, size, rows, autoGrow, maxRows, fullWidth, className, style, textAreaRef, onChange, ...rest }: TextAreaProps): React.JSX.Element;
52
+ export declare function TextArea({ label, description, help, errorMessage, size, rows, autoGrow, maxRows, fullWidth, className, style, textAreaRef, onChange, ...rest }: TextAreaProps): React.JSX.Element;
@@ -8,6 +8,16 @@ export interface TextAreaProps {
8
8
  placeholder?: string;
9
9
  /** Help text below the field. Replaced by errorMessage when invalid. */
10
10
  description?: React.ReactNode;
11
+ /**
12
+ * Contextual explanation, shown as a help icon beside the label and announced as part of the
13
+ * field's description. For the sentence a user needs *occasionally* — `description` is for the
14
+ * one they need every time, and it costs a line of vertical space in every row.
15
+ *
16
+ * Needs a visible `label`: the icon is drawn beside one, so on a field named only by
17
+ * `aria-label` the text still reaches a screen reader through the description but no icon
18
+ * appears. Pire warns in development rather than drawing an icon with nothing to anchor it to.
19
+ */
20
+ help?: React.ReactNode;
11
21
  errorMessage?: React.ReactNode;
12
22
  isInvalid?: boolean;
13
23
  isDisabled?: boolean;
@@ -39,5 +49,5 @@ export interface TextAreaProps {
39
49
  * height is only written when it actually changed, so a keystroke that does not wrap costs no
40
50
  * layout; and the resize grip is removed, since a manual height would be overwritten on the next
41
51
  * keystroke anyway. */
42
- export declare function TextArea({ label, description, errorMessage, size, rows, autoGrow, maxRows, fullWidth, className, style, textAreaRef, onChange, ...rest }: TextAreaProps): React.JSX.Element;
52
+ export declare function TextArea({ label, description, help, errorMessage, size, rows, autoGrow, maxRows, fullWidth, className, style, textAreaRef, onChange, ...rest }: TextAreaProps): React.JSX.Element;
43
53
  //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/forms/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wEAAwE;IACxE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;qDACiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IA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AC1B,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;qDACiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;CAC9C;AAED;;;;;;;;;;wBAUwB;AACxB,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,IAAW,EACX,IAAQ,EACR,QAAQ,EACR,OAAO,EACP,SAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,aAAa,qBAsEf"}
@@ -0,0 +1,9 @@
1
+ /** Dev-only diagnostics. Every bundler replaces `process.env.NODE_ENV` statically, so the
2
+ * warnings and their registry are dead code a minifier drops from production builds. Do *not*
3
+ * wrap this in `typeof process !== 'undefined'`: `process` is genuinely undefined in the
4
+ * browser, the `typeof` test is not something a bundler substitutes, and the guard would
5
+ * evaluate false in development — silencing the warnings this exists to emit. */
6
+ export declare const IS_DEV: boolean;
7
+ /** One warning per distinct cause. Fields re-render on every keystroke, so warning per render
8
+ * would bury the message in its own repetitions. */
9
+ export declare function warnOnce(key: string, message: string): void;
@@ -0,0 +1,10 @@
1
+ /** Dev-only diagnostics. Every bundler replaces `process.env.NODE_ENV` statically, so the
2
+ * warnings and their registry are dead code a minifier drops from production builds. Do *not*
3
+ * wrap this in `typeof process !== 'undefined'`: `process` is genuinely undefined in the
4
+ * browser, the `typeof` test is not something a bundler substitutes, and the guard would
5
+ * evaluate false in development — silencing the warnings this exists to emit. */
6
+ export declare const IS_DEV: boolean;
7
+ /** One warning per distinct cause. Fields re-render on every keystroke, so warning per render
8
+ * would bury the message in its own repetitions. */
9
+ export declare function warnOnce(key: string, message: string): void;
10
+ //# sourceMappingURL=devWarn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"devWarn.d.ts","sourceRoot":"","sources":["../../../src/components/utils/devWarn.ts"],"names":[],"mappings":"AAMA;;;;kFAIkF;AAClF,eAAO,MAAM,MAAM,SAAwC,CAAC;AAI5D;qDACqD;AACrD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAI3D"}
@@ -382,6 +382,11 @@
382
382
  font: var(--type-caption);
383
383
  color: var(--status-negative-fg);
384
384
  }
385
+ .pire-field-labelrow {
386
+ display: flex;
387
+ align-items: center;
388
+ gap: var(--sp-1);
389
+ }
385
390
  .pire-field[data-layout="horizontal"] {
386
391
  display: grid;
387
392
  grid-template-columns: 160px 1fr;
@@ -391,6 +396,9 @@
391
396
  .pire-field[data-layout="horizontal"] .pire-field-label {
392
397
  text-align: right;
393
398
  }
399
+ .pire-field[data-layout="horizontal"] .pire-field-labelrow {
400
+ justify-content: flex-end;
401
+ }
394
402
  .pire-field[data-layout="horizontal"] .pire-field-hint,
395
403
  .pire-field[data-layout="horizontal"] .pire-field-error {
396
404
  grid-column: 2;
@@ -623,6 +631,9 @@
623
631
  color: var(--text-disabled);
624
632
  cursor: not-allowed;
625
633
  }
634
+ .pire-option[data-clear="true"] {
635
+ color: var(--text-secondary);
636
+ }
626
637
 
627
638
  /* ---- Checkbox / Radio / Switch --------------------------------------- */
628
639
  .pire-choice {
@@ -38,10 +38,14 @@ export interface PireMessages {
38
38
  toastDismiss: string;
39
39
  /** Landmark name of the toast live region. */
40
40
  toastRegionLabel: string;
41
- /** Accessible name of the button that opens a ComboBox's list. */
41
+ /** Shown in a Select's trigger while nothing is chosen, and — with `isClearable` — reused as
42
+ * the visible label of the row that returns the field to that state. The same string has to
43
+ * read naturally in both places: as trigger text and as a list item. */
44
+ selectPlaceholder: string;
42
45
  /** Shown inside the popover when a Select has no options at all. A Select whose list is empty
43
46
  * used not to open, so the field read as broken; this is the text that explains it instead. */
44
47
  selectEmpty: string;
48
+ /** Accessible name of the button that opens a ComboBox's list. */
45
49
  comboBoxShowSuggestions: string;
46
50
  /** Row shown in the popover while a server search is in flight. */
47
51
  comboBoxLoading: string;
@@ -57,6 +61,14 @@ export interface PireMessages {
57
61
  /** Accessible name of the button that clears a ValueHelpField. */
58
62
  /** Accessible name of the clear affordance on a clearable Input. */
59
63
  inputClear: string;
64
+ /** Accessible name of the help icon beside a field label. The explanation itself is the
65
+ * tooltip, and is also announced as part of the field's description. */
66
+ fieldHelp: string;
67
+ /** Accessible name of a field's help icon when the field's label is a plain string, so that a
68
+ * form with six helped fields does not offer six buttons all called `fieldHelp`. `{label}` is
69
+ * replaced with the field's own label, lowercased for its mid-sentence position — the same
70
+ * shape as `valueHelpFieldOpenNamed`. */
71
+ fieldHelpNamed: string;
60
72
  /** Placeholder in the closed value-help field when nothing is picked. */
61
73
  valueHelpFieldPlaceholder: string;
62
74
  valueHelpFieldClear: string;
@@ -38,10 +38,14 @@ export interface PireMessages {
38
38
  toastDismiss: string;
39
39
  /** Landmark name of the toast live region. */
40
40
  toastRegionLabel: string;
41
- /** Accessible name of the button that opens a ComboBox's list. */
41
+ /** Shown in a Select's trigger while nothing is chosen, and — with `isClearable` — reused as
42
+ * the visible label of the row that returns the field to that state. The same string has to
43
+ * read naturally in both places: as trigger text and as a list item. */
44
+ selectPlaceholder: string;
42
45
  /** Shown inside the popover when a Select has no options at all. A Select whose list is empty
43
46
  * used not to open, so the field read as broken; this is the text that explains it instead. */
44
47
  selectEmpty: string;
48
+ /** Accessible name of the button that opens a ComboBox's list. */
45
49
  comboBoxShowSuggestions: string;
46
50
  /** Row shown in the popover while a server search is in flight. */
47
51
  comboBoxLoading: string;
@@ -57,6 +61,14 @@ export interface PireMessages {
57
61
  /** Accessible name of the button that clears a ValueHelpField. */
58
62
  /** Accessible name of the clear affordance on a clearable Input. */
59
63
  inputClear: string;
64
+ /** Accessible name of the help icon beside a field label. The explanation itself is the
65
+ * tooltip, and is also announced as part of the field's description. */
66
+ fieldHelp: string;
67
+ /** Accessible name of a field's help icon when the field's label is a plain string, so that a
68
+ * form with six helped fields does not offer six buttons all called `fieldHelp`. `{label}` is
69
+ * replaced with the field's own label, lowercased for its mid-sentence position — the same
70
+ * shape as `valueHelpFieldOpenNamed`. */
71
+ fieldHelpNamed: string;
60
72
  /** Placeholder in the closed value-help field when nothing is picked. */
61
73
  valueHelpFieldPlaceholder: string;
62
74
  valueHelpFieldClear: string;
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/i18n/messages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,WAAW,YAAY;IAC3B,iCAAiC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,8EAA8E;IAC9E,WAAW,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,iBAAiB,EAAE,MAAM,CAAC;IAE1B,qEAAqE;IACrE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,qDAAqD;IACrD,kBAAkB,EAAE,MAAM,CAAC;IAC3B;4DACwD;IACxD,wBAAwB,EAAE,MAAM,CAAC;IACjC,oDAAoD;IACpD,gBAAgB,EAAE,MAAM,CAAC;IACzB,6FAA6F;IAC7F,mBAAmB,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,cAAc,EAAE,MAAM,CAAC;IAEvB,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,cAAc,EAAE,MAAM,CAAC;IAEvB,6DAA6D;IAC7D,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uDAAuD;IACvD,YAAY,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,gBAAgB,E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