@ecopages/radiant-ui 0.1.0-beta.3 → 0.1.0-beta.5
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.
- package/dist/components/ui/autocomplete/autocomplete.css +135 -0
- package/dist/components/ui/autocomplete/autocomplete.d.ts +21 -0
- package/dist/components/ui/autocomplete/autocomplete.script.d.ts +42 -0
- package/dist/components/ui/autocomplete/index.d.ts +2 -0
- package/dist/components/ui/autocomplete/index.js +2 -0
- package/dist/components/ui/autocomplete/index.js.map +7 -0
- package/dist/components/ui/avatar/avatar.css +58 -0
- package/dist/components/ui/avatar/avatar.d.ts +13 -0
- package/dist/components/ui/avatar/index.d.ts +1 -0
- package/dist/components/ui/avatar/index.js +2 -0
- package/dist/components/ui/avatar/index.js.map +7 -0
- package/dist/components/ui/button-group/button-group.css +16 -0
- package/dist/components/ui/button-group/button-group.d.ts +10 -0
- package/dist/components/ui/button-group/index.d.ts +1 -0
- package/dist/components/ui/button-group/index.js +2 -0
- package/dist/components/ui/button-group/index.js.map +7 -0
- package/dist/components/ui/calendar/calendar.css +318 -0
- package/dist/components/ui/calendar/calendar.d.ts +5 -0
- package/dist/components/ui/calendar/calendar.script.d.ts +89 -0
- package/dist/components/ui/calendar/index.d.ts +2 -0
- package/dist/components/ui/calendar/index.js +2 -0
- package/dist/components/ui/calendar/index.js.map +7 -0
- package/dist/components/ui/chip/chip.css +47 -0
- package/dist/components/ui/chip/chip.d.ts +11 -0
- package/dist/components/ui/chip/index.d.ts +1 -0
- package/dist/components/ui/chip/index.js +2 -0
- package/dist/components/ui/chip/index.js.map +7 -0
- package/dist/components/ui/chip-list/chip-list.css +15 -0
- package/dist/components/ui/chip-list/chip-list.d.ts +10 -0
- package/dist/components/ui/chip-list/index.d.ts +1 -0
- package/dist/components/ui/chip-list/index.js +2 -0
- package/dist/components/ui/chip-list/index.js.map +7 -0
- package/dist/components/ui/combobox/combobox.css +42 -80
- package/dist/components/ui/combobox/combobox.d.ts +12 -20
- package/dist/components/ui/combobox/combobox.script.d.ts +15 -14
- package/dist/components/ui/combobox/index.d.ts +2 -1
- package/dist/components/ui/combobox/index.js +1 -1
- package/dist/components/ui/combobox/index.js.map +4 -4
- package/dist/components/ui/date-field/date-field.css +184 -0
- package/dist/components/ui/date-field/date-field.d.ts +10 -0
- package/dist/components/ui/date-field/date-field.script.d.ts +108 -0
- package/dist/components/ui/date-field/index.d.ts +2 -0
- package/dist/components/ui/date-field/index.js +2 -0
- package/dist/components/ui/date-field/index.js.map +7 -0
- package/dist/components/ui/date-range-picker/date-range-picker.css +194 -0
- package/dist/components/ui/date-range-picker/date-range-picker.d.ts +10 -0
- package/dist/components/ui/date-range-picker/date-range-picker.script.d.ts +99 -0
- package/dist/components/ui/date-range-picker/index.d.ts +2 -0
- package/dist/components/ui/date-range-picker/index.js +2 -0
- package/dist/components/ui/date-range-picker/index.js.map +7 -0
- package/dist/components/ui/dialog/dialog.css +1 -1
- package/dist/components/ui/feed/feed.css +169 -5
- package/dist/components/ui/feed/feed.d.ts +54 -11
- package/dist/components/ui/feed/index.d.ts +1 -2
- package/dist/components/ui/feed/index.js +1 -1
- package/dist/components/ui/feed/index.js.map +4 -4
- package/dist/components/ui/field/index.js +1 -1
- package/dist/components/ui/field/index.js.map +3 -3
- package/dist/components/ui/form/form-field.test.d.ts +1 -0
- package/dist/components/ui/form/index.js +1 -1
- package/dist/components/ui/form/index.js.map +3 -3
- package/dist/components/ui/heading/heading.css +107 -0
- package/dist/components/ui/heading/heading.d.ts +30 -0
- package/dist/components/ui/heading/index.d.ts +1 -0
- package/dist/components/ui/heading/index.js +2 -0
- package/dist/components/ui/heading/index.js.map +7 -0
- package/dist/components/ui/headline/headline.css +43 -0
- package/dist/components/ui/headline/headline.d.ts +16 -0
- package/dist/components/ui/headline/index.d.ts +1 -0
- package/dist/components/ui/headline/index.js +2 -0
- package/dist/components/ui/headline/index.js.map +7 -0
- package/dist/components/ui/input/index.js +1 -1
- package/dist/components/ui/input/index.js.map +4 -4
- package/dist/components/ui/input/input.d.ts +8 -1
- package/dist/components/ui/label/index.js +1 -1
- package/dist/components/ui/label/index.js.map +2 -2
- package/dist/components/ui/listbox/index.d.ts +1 -1
- package/dist/components/ui/listbox/index.js +1 -1
- package/dist/components/ui/listbox/index.js.map +4 -4
- package/dist/components/ui/listbox/listbox.css +34 -10
- package/dist/components/ui/listbox/listbox.d.ts +12 -4
- package/dist/components/ui/listbox/listbox.script.d.ts +12 -0
- package/dist/components/ui/menu-button/index.js +1 -1
- package/dist/components/ui/menu-button/index.js.map +4 -4
- package/dist/components/ui/menu-button/menu-button.css +24 -8
- package/dist/components/ui/menu-button/menu-button.script.d.ts +3 -4
- package/dist/components/ui/menubar/index.js +1 -1
- package/dist/components/ui/menubar/index.js.map +4 -4
- package/dist/components/ui/menubar/menubar.css +40 -22
- package/dist/components/ui/menubar/menubar.script.d.ts +6 -1
- package/dist/components/ui/number-field/index.d.ts +2 -0
- package/dist/components/ui/number-field/index.js +2 -0
- package/dist/components/ui/number-field/index.js.map +7 -0
- package/dist/components/ui/number-field/number-field.css +185 -0
- package/dist/components/ui/number-field/number-field.d.ts +43 -0
- package/dist/components/ui/number-field/number-field.script.d.ts +104 -0
- package/dist/components/ui/popover/index.d.ts +4 -0
- package/dist/components/ui/popover/index.js +2 -0
- package/dist/components/ui/popover/index.js.map +7 -0
- package/dist/components/ui/popover/popover.css +132 -0
- package/dist/components/ui/popover/popover.d.ts +15 -0
- package/dist/components/ui/popover/popover.script.d.ts +85 -0
- package/dist/components/ui/select/index.d.ts +3 -0
- package/dist/components/ui/select/index.js +2 -0
- package/dist/components/ui/select/index.js.map +7 -0
- package/dist/components/ui/select/select.css +216 -0
- package/dist/components/ui/select/select.d.ts +54 -0
- package/dist/components/ui/select/select.script.d.ts +106 -0
- package/dist/components/ui/shared/collection-navigation.d.ts +8 -0
- package/dist/components/ui/shared/collection-navigation.test.d.ts +1 -0
- package/dist/components/ui/shared/control-toggle.css +132 -0
- package/dist/components/ui/shared/field-label.d.ts +9 -0
- package/dist/components/ui/shared/floating-position.d.ts +13 -2
- package/dist/components/ui/shared/listbox-popover-behavior.d.ts +47 -0
- package/dist/components/ui/shared/listbox-popover-behavior.test.d.ts +1 -0
- package/dist/components/ui/shared/multi-value.d.ts +4 -0
- package/dist/components/ui/shared/popover-controller.d.ts +35 -0
- package/dist/components/ui/shared/popover-controller.test.d.ts +1 -0
- package/dist/components/ui/shared/popover.css +123 -0
- package/dist/components/ui/shared/portal.d.ts +7 -0
- package/dist/components/ui/shared/portal.test.d.ts +1 -0
- package/dist/components/ui/slider/index.js +1 -1
- package/dist/components/ui/slider/index.js.map +3 -3
- package/dist/components/ui/slider/slider.script.d.ts +5 -12
- package/dist/components/ui/tag-group/index.d.ts +2 -0
- package/dist/components/ui/tag-group/index.js +2 -0
- package/dist/components/ui/tag-group/index.js.map +7 -0
- package/dist/components/ui/tag-group/tag-group.css +184 -0
- package/dist/components/ui/tag-group/tag-group.d.ts +28 -0
- package/dist/components/ui/tag-group/tag-group.script.d.ts +65 -0
- package/dist/components/ui/textarea/index.js +1 -1
- package/dist/components/ui/textarea/index.js.map +2 -2
- package/dist/components/ui/toc/toc.css +1 -1
- package/dist/components/ui/tooltip/index.js +1 -1
- package/dist/components/ui/tooltip/index.js.map +3 -3
- package/dist/index.d.ts +14 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/lib/icons/calendar.d.ts +3 -0
- package/dist/lib/icons/chevron-down.d.ts +3 -0
- package/dist/lib/icons/index.d.ts +3 -0
- package/dist/lib/icons/types.d.ts +4 -0
- package/dist/lib/intl/locale.d.ts +3 -0
- package/dist/lib/intl-date/calendar.d.ts +25 -0
- package/dist/lib/intl-date/formatters.d.ts +13 -0
- package/dist/lib/intl-date/index.d.ts +12 -0
- package/dist/lib/intl-date/iso.d.ts +6 -0
- package/dist/lib/intl-date/months.d.ts +12 -0
- package/dist/lib/intl-date/parts.d.ts +15 -0
- package/dist/lib/intl-date/parts.test.d.ts +1 -0
- package/dist/lib/intl-date/segments.d.ts +32 -0
- package/dist/lib/intl-date/segments.test.d.ts +1 -0
- package/dist/lib/intl-date/selection.d.ts +39 -0
- package/dist/lib/intl-date/selection.test.d.ts +1 -0
- package/dist/lib/intl-date/types.d.ts +17 -0
- package/dist/lib/intl-number/format.d.ts +9 -0
- package/dist/lib/intl-number/index.d.ts +2 -0
- package/dist/lib/intl-number/range.d.ts +3 -0
- package/dist/lib/intrinsic.d.ts +13 -0
- package/dist/lib/mask/date-mask.d.ts +29 -0
- package/dist/lib/mask/date-mask.test.d.ts +1 -0
- package/dist/lib/mask/index.d.ts +4 -0
- package/dist/lib/mask/input-mask.d.ts +52 -0
- package/dist/lib/mask/input-mask.test.d.ts +1 -0
- package/dist/lib/text-filter.d.ts +7 -0
- package/dist/lib/text-filter.test.d.ts +1 -0
- package/dist/styles/radiant-ui-core.css +131 -1
- package/dist/styles/radiant-ui.css +142 -1
- package/dist/styles/styles.css +4504 -2395
- package/dist/styles/tailwind.css +142 -1
- package/dist/styles/tokens/typography/default.css +8 -0
- package/package.json +106 -15
- package/dist/components/ui/feed/feed.script.d.ts +0 -22
- package/dist/components/ui/spinbutton/index.d.ts +0 -2
- package/dist/components/ui/spinbutton/index.js +0 -2
- package/dist/components/ui/spinbutton/index.js.map +0 -7
- package/dist/components/ui/spinbutton/spinbutton.css +0 -69
- package/dist/components/ui/spinbutton/spinbutton.d.ts +0 -5
- package/dist/components/ui/spinbutton/spinbutton.script.d.ts +0 -64
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer properties;
|
|
3
|
-
rui-spinbutton {
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
}
|
|
6
|
-
@layer components {
|
|
7
|
-
.rui-spinbutton {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
gap: var(--spacing-1, var(--space-1));
|
|
11
|
-
font-size: var(--text-sm, var(--text-sm));
|
|
12
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
13
|
-
}
|
|
14
|
-
.rui-spinbutton__control {
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
gap: var(--spacing-1, var(--space-1));
|
|
18
|
-
}
|
|
19
|
-
.rui-spinbutton__input {
|
|
20
|
-
width: calc(var(--spacing, 0.25rem) * 16);
|
|
21
|
-
border-radius: var(--radius-button, var(--radius-control));
|
|
22
|
-
border-style: var(--tw-border-style);
|
|
23
|
-
border-width: 1px;
|
|
24
|
-
border-color: var(--color-border, var(--border));
|
|
25
|
-
background-color: var(--color-background, var(--background));
|
|
26
|
-
padding-inline: var(--spacing-2, var(--space-2));
|
|
27
|
-
padding-block: var(--spacing-1, var(--space-1));
|
|
28
|
-
text-align: center;
|
|
29
|
-
--tw-numeric-spacing: tabular-nums;
|
|
30
|
-
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
@property --tw-border-style {
|
|
34
|
-
syntax: "*";
|
|
35
|
-
inherits: false;
|
|
36
|
-
initial-value: solid;
|
|
37
|
-
}
|
|
38
|
-
@property --tw-ordinal {
|
|
39
|
-
syntax: "*";
|
|
40
|
-
inherits: false;
|
|
41
|
-
}
|
|
42
|
-
@property --tw-slashed-zero {
|
|
43
|
-
syntax: "*";
|
|
44
|
-
inherits: false;
|
|
45
|
-
}
|
|
46
|
-
@property --tw-numeric-figure {
|
|
47
|
-
syntax: "*";
|
|
48
|
-
inherits: false;
|
|
49
|
-
}
|
|
50
|
-
@property --tw-numeric-spacing {
|
|
51
|
-
syntax: "*";
|
|
52
|
-
inherits: false;
|
|
53
|
-
}
|
|
54
|
-
@property --tw-numeric-fraction {
|
|
55
|
-
syntax: "*";
|
|
56
|
-
inherits: false;
|
|
57
|
-
}
|
|
58
|
-
@layer properties {
|
|
59
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
60
|
-
*, ::before, ::after, ::backdrop {
|
|
61
|
-
--tw-border-style: solid;
|
|
62
|
-
--tw-ordinal: initial;
|
|
63
|
-
--tw-slashed-zero: initial;
|
|
64
|
-
--tw-numeric-figure: initial;
|
|
65
|
-
--tw-numeric-spacing: initial;
|
|
66
|
-
--tw-numeric-fraction: initial;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { JsxHtmlPropsWithChildren } from '@ecopages/jsx';
|
|
2
|
-
import type { RuiSpinbuttonProps } from './spinbutton.script';
|
|
3
|
-
export declare const RuiSpinbutton: import("@/lib/radiant-view").RadiantViewComponent<JsxHtmlPropsWithChildren<RuiSpinbuttonProps & {
|
|
4
|
-
slot?: string;
|
|
5
|
-
}>>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { RadiantElement } from '@ecopages/radiant';
|
|
2
|
-
import type { EventEmitter } from '@ecopages/radiant/tools/event-emitter';
|
|
3
|
-
export type RuiSpinbuttonProps = {
|
|
4
|
-
value?: number;
|
|
5
|
-
min?: number;
|
|
6
|
-
max?: number;
|
|
7
|
-
step?: number;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
label?: string;
|
|
10
|
-
name?: string;
|
|
11
|
-
};
|
|
12
|
-
export type RuiSpinbuttonChangeDetail = {
|
|
13
|
-
value: number;
|
|
14
|
-
};
|
|
15
|
-
type RuiSpinbuttonBindings = {
|
|
16
|
-
value: number;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
label: string;
|
|
19
|
-
name: string;
|
|
20
|
-
min: number;
|
|
21
|
-
max: number;
|
|
22
|
-
decreaseDisabled: boolean;
|
|
23
|
-
increaseDisabled: boolean;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* `<rui-spinbutton>` — an input restricted to a discrete numeric range.
|
|
27
|
-
*
|
|
28
|
-
* Implements the APG Spinbutton pattern with `role="spinbutton"` on a native
|
|
29
|
-
* number-like text field, plus decrement/increment buttons.
|
|
30
|
-
*
|
|
31
|
-
* @see https://www.w3.org/WAI/ARIA/apg/patterns/spinbutton/
|
|
32
|
-
*
|
|
33
|
-
* @element rui-spinbutton
|
|
34
|
-
* @slot decrease - Optional custom decrease control. Use `data-spinbutton-action="decrease"`.
|
|
35
|
-
* @slot increase - Optional custom increase control. Use `data-spinbutton-action="increase"`.
|
|
36
|
-
* @fires rui-change
|
|
37
|
-
*/
|
|
38
|
-
export declare class RuiSpinbutton extends RadiantElement<RuiSpinbuttonBindings> {
|
|
39
|
-
value: number;
|
|
40
|
-
min: number;
|
|
41
|
-
max: number;
|
|
42
|
-
step: number;
|
|
43
|
-
disabled: boolean;
|
|
44
|
-
label: string;
|
|
45
|
-
name: string;
|
|
46
|
-
changeEvent: EventEmitter<RuiSpinbuttonChangeDetail>;
|
|
47
|
-
decreaseDisabled: boolean;
|
|
48
|
-
increaseDisabled: boolean;
|
|
49
|
-
private readonly nameAttr;
|
|
50
|
-
private readonly resolvedAriaLabel;
|
|
51
|
-
/** Derived from disabled/value/min/max — recomputed here instead of per-render. */
|
|
52
|
-
onRangeUpdated(): void;
|
|
53
|
-
private syncSlottedStepperControls;
|
|
54
|
-
private isDecreaseDisabled;
|
|
55
|
-
private isIncreaseDisabled;
|
|
56
|
-
private clamp;
|
|
57
|
-
private setValue;
|
|
58
|
-
decrement(): void;
|
|
59
|
-
increment(): void;
|
|
60
|
-
onChange(event: Event): void;
|
|
61
|
-
onKeydown(event: KeyboardEvent): void;
|
|
62
|
-
render(): import("@ecopages/jsx").JsxRenderable;
|
|
63
|
-
}
|
|
64
|
-
export {};
|