@pathscale/ui 3.1.0 → 3.2.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.
- package/README.md +13 -2
- package/dist/components/accordion/Accordion.css +24 -1
- package/dist/components/alert/Alert.css +11 -1
- package/dist/components/button/Button.css +33 -6
- package/dist/components/calendar/Calendar.generated.d.ts +19 -2
- package/dist/components/calendar/Calendar.generated.js +30 -23
- package/dist/components/calendar/index.d.ts +1 -1
- package/dist/components/card/Card.generated.d.ts +17 -0
- package/dist/components/card/Card.generated.js +99 -45
- package/dist/components/card/Card.interactions.d.ts +70 -0
- package/dist/components/card/Card.interactions.js +19 -0
- package/dist/components/collapsible/Collapsible.css +17 -1
- package/dist/components/color-wheel-flower/ColorWheelFlower.generated.d.ts +8 -0
- package/dist/components/color-wheel-flower/ColorWheelFlower.generated.js +14 -1
- package/dist/components/color-wheel-flower/colorWheelFlowerContext.d.ts +9 -2
- package/dist/components/color-wheel-flower/colorWheelFlowerContext.js +2 -4
- package/dist/components/date-picker/DatePicker.generated.d.ts +3 -1
- package/dist/components/date-picker/DatePicker.generated.js +8 -5
- package/dist/components/date-range-picker/DateRangePicker.generated.d.ts +3 -1
- package/dist/components/date-range-picker/DateRangePicker.generated.js +9 -6
- package/dist/components/drawer/Drawer.generated.d.ts +24 -0
- package/dist/components/drawer/Drawer.generated.js +48 -18
- package/dist/components/icon/Icon.generated.d.ts +15 -0
- package/dist/components/icon/Icon.generated.js +11 -2
- package/dist/components/immersive-landing/ImmersiveLanding.css +1 -1
- package/dist/components/immersive-landing/components/CookieConsent.interactions.d.ts +24 -0
- package/dist/components/immersive-landing/components/CookieConsent.interactions.js +2 -0
- package/dist/components/immersive-landing/components/CookieConsent.js +52 -47
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +10 -10
- package/dist/components/immersive-landing/types.d.ts +15 -0
- package/dist/components/language-switcher/LanguageSwitcher.generated.js +1 -1
- package/dist/components/live-chat/LiveChatPanel.generated.js +2 -6
- package/dist/components/live-chat/LiveChatPanel.interactions.d.ts +21 -0
- package/dist/components/live-chat/LiveChatPanel.interactions.js +10 -0
- package/dist/components/popover/Popover.a11y.d.ts +47 -0
- package/dist/components/popover/Popover.a11y.js +19 -0
- package/dist/components/popover/Popover.generated.d.ts +26 -0
- package/dist/components/popover/Popover.generated.js +105 -35
- package/dist/components/range-calendar/RangeCalendar.generated.d.ts +3 -1
- package/dist/components/range-calendar/RangeCalendar.generated.js +4 -1
- package/dist/components/table/MobileListView.generated.js +1 -1
- package/dist/components/text/Text.generated.d.ts +26 -1
- package/dist/components/text/Text.generated.js +13 -8
- package/dist/components/text/index.d.ts +1 -1
- package/dist/components/theme-color-picker/ThemeColorPicker.generated.js +1 -1
- package/dist/hooks/date/date.names.d.ts +107 -0
- package/dist/hooks/date/date.names.js +74 -0
- package/dist/hooks/date/date.utils.d.ts +11 -1
- package/dist/hooks/date/date.utils.js +3 -6
- package/dist/hooks/date/index.d.ts +1 -0
- package/dist/hooks/date/index.js +1 -0
- package/dist/hooks/date/useCalendarState.d.ts +12 -5
- package/dist/hooks/date/useCalendarState.js +7 -19
- package/dist/hooks/form/createForm.d.ts +4 -4
- package/dist/hooks/form/createForm.js +7 -9
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/layouts.manifest.json +4 -1
- package/dist/responsive-classes.txt +450 -0
- package/package.json +10 -5
|
@@ -1,22 +1,10 @@
|
|
|
1
1
|
import { createMemo } from "solid-js";
|
|
2
|
-
import {
|
|
2
|
+
import { formatFullDate, formatMonthYear, weekdayNames } from "./date.names.js";
|
|
3
|
+
import { buildCalendarGrid, compareDates, createPreviewRange, getToday, isSameDay, isSameMonth, normalizeRange, splitWeeks } from "./date.utils.js";
|
|
3
4
|
const useCalendarState = (options)=>{
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}));
|
|
8
|
-
const dayLabelFormatter = createMemo(()=>new Intl.DateTimeFormat(options.locale(), {
|
|
9
|
-
dateStyle: "full"
|
|
10
|
-
}));
|
|
11
|
-
const weekdayFormatter = createMemo(()=>new Intl.DateTimeFormat(options.locale(), {
|
|
12
|
-
weekday: options.weekdayFormat()
|
|
13
|
-
}));
|
|
14
|
-
const weekdayLabels = createMemo(()=>{
|
|
15
|
-
const firstSunday = new Date(2024, 0, 7, 12, 0, 0, 0);
|
|
16
|
-
return Array.from({
|
|
17
|
-
length: 7
|
|
18
|
-
}, (_, index)=>weekdayFormatter().format(addDays(firstSunday, index)));
|
|
19
|
-
});
|
|
5
|
+
const monthLabel = createMemo(()=>formatMonthYear(options.visibleMonth(), options.dateNames()));
|
|
6
|
+
const formatDayLabel = (date)=>formatFullDate(date, options.dateNames());
|
|
7
|
+
const weekdayLabels = createMemo(()=>weekdayNames(options.weekdayFormat(), options.dateNames()));
|
|
20
8
|
const calendarWeeks = createMemo(()=>splitWeeks(buildCalendarGrid(options.visibleMonth(), 0)));
|
|
21
9
|
const normalizedRange = createMemo(()=>normalizeRange(options.rangeStart(), options.rangeEnd()));
|
|
22
10
|
const previewRange = createMemo(()=>createPreviewRange(normalizedRange().start, normalizedRange().end, options.rangePreview()));
|
|
@@ -54,8 +42,8 @@ const useCalendarState = (options)=>{
|
|
|
54
42
|
};
|
|
55
43
|
};
|
|
56
44
|
return {
|
|
57
|
-
|
|
58
|
-
|
|
45
|
+
monthLabel,
|
|
46
|
+
formatDayLabel,
|
|
59
47
|
weekdayLabels,
|
|
60
48
|
calendarWeeks,
|
|
61
49
|
normalizedRange,
|
|
@@ -4,7 +4,7 @@ type AnyValues = Record<string, any>;
|
|
|
4
4
|
export type AsyncValidatorFn<TValues extends AnyValues> = (context: {
|
|
5
5
|
value: TValues;
|
|
6
6
|
}) => Promise<Partial<Record<keyof TValues, string>> | undefined>;
|
|
7
|
-
export type CreateFormOptions<TValues extends AnyValues = AnyValues> = {
|
|
7
|
+
export type CreateFormOptions<TValues extends AnyValues = AnyValues, TOutput = TValues> = {
|
|
8
8
|
/**
|
|
9
9
|
* Initial values for every field. Used to infer the form's value type and
|
|
10
10
|
* to determine whether a field is "dirty".
|
|
@@ -14,7 +14,7 @@ export type CreateFormOptions<TValues extends AnyValues = AnyValues> = {
|
|
|
14
14
|
* Any Standard Schema-compatible schema (Zod, Valibot, Arktype, ...).
|
|
15
15
|
* Runs on change, on blur and on submit.
|
|
16
16
|
*/
|
|
17
|
-
schema?: StandardSchemaV1<TValues>;
|
|
17
|
+
schema?: StandardSchemaV1<TValues, TOutput>;
|
|
18
18
|
/**
|
|
19
19
|
* Additional async validators for fields that need server-side validation
|
|
20
20
|
* (e.g. username availability). These run *after* the synchronous schema.
|
|
@@ -26,7 +26,7 @@ export type CreateFormOptions<TValues extends AnyValues = AnyValues> = {
|
|
|
26
26
|
/**
|
|
27
27
|
* Called when the form is submitted and all validators pass.
|
|
28
28
|
*/
|
|
29
|
-
onSubmit?: (value:
|
|
29
|
+
onSubmit?: (value: TOutput) => void | Promise<void>;
|
|
30
30
|
};
|
|
31
31
|
/** What a field tracks besides its value. */
|
|
32
32
|
type FieldMeta = {
|
|
@@ -77,5 +77,5 @@ export type FormApi<TValues extends AnyValues = AnyValues> = {
|
|
|
77
77
|
* field is touched — the display gate lives in `useField`, so a submit can
|
|
78
78
|
* surface every error at once by touching every field.
|
|
79
79
|
*/
|
|
80
|
-
export declare const createForm: <TValues extends AnyValues = AnyValues>(options: CreateFormOptions<TValues>) => FormApi<TValues>;
|
|
80
|
+
export declare const createForm: <TValues extends AnyValues = AnyValues, TOutput = TValues>(options: CreateFormOptions<TValues, TOutput>) => FormApi<TValues>;
|
|
81
81
|
export { getFirstFieldError };
|
|
@@ -67,17 +67,15 @@ const createForm = (options)=>{
|
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
69
|
flush();
|
|
70
|
-
let
|
|
70
|
+
let output = values;
|
|
71
71
|
const schema = options.schema;
|
|
72
72
|
if (schema) {
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
73
|
+
const pending = schema["~standard"].validate(values);
|
|
74
|
+
const result = pending instanceof Promise ? await pending : pending;
|
|
75
|
+
applyErrors(result.issues ? issuesToErrors(result.issues) : {}, true);
|
|
76
|
+
if (result.issues) return;
|
|
77
|
+
output = result.value;
|
|
79
78
|
}
|
|
80
|
-
if (!ok) return;
|
|
81
79
|
setStatus((draft)=>{
|
|
82
80
|
draft.isSubmitting = true;
|
|
83
81
|
});
|
|
@@ -96,7 +94,7 @@ const createForm = (options)=>{
|
|
|
96
94
|
};
|
|
97
95
|
});
|
|
98
96
|
}
|
|
99
|
-
await options.onSubmit?.(
|
|
97
|
+
await options.onSubmit?.(output);
|
|
100
98
|
} finally{
|
|
101
99
|
setStatus((draft)=>{
|
|
102
100
|
draft.isSubmitting = false;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export { Breadcrumb, BreadcrumbItem, } from "./components/breadcrumb";
|
|
|
19
19
|
export type { ButtonProps } from "./components/button";
|
|
20
20
|
export { default as Button } from "./components/button";
|
|
21
21
|
export { PanelToggle, type PanelToggleProps, type PanelToggleSide, } from "./components/panel-toggle";
|
|
22
|
-
export { type CalendarDayHoverHandler, type CalendarDaySelectHandler, type CalendarProps, type CalendarSelectionMode, type CalendarWeekdayFormat, default as Calendar, } from "./components/calendar";
|
|
22
|
+
export { type CalendarDayHoverHandler, type CalendarDaySelectHandler, type CalendarProps, type CalendarSelectionMode, type CalendarWeekdayFormat, type DateNames, default as Calendar, } from "./components/calendar";
|
|
23
23
|
export type { CardElevation, CardMaterial, CardState, CardProps, CardSectionProps, } from "./components/card";
|
|
24
24
|
export { Card as CardRoot, CardBody, CardFooter, CardHeader, default as Card, } from "./components/card";
|
|
25
25
|
export { default as ChatBubble } from "./components/chatbubble";
|
|
@@ -51,7 +51,7 @@ export { createFlexGrid, default as FlexGrid } from "./components/flex-grid";
|
|
|
51
51
|
export type { FooterProps, FooterTitleProps } from "./components/footer";
|
|
52
52
|
export { default as Footer } from "./components/footer";
|
|
53
53
|
export type { FieldErrorMessageProps, FormFieldProps, FormProps, FormRootProps, FormSubmitButtonProps, FormWithContextProps, } from "./components/form";
|
|
54
|
-
export { default as Form, FormField, FormSubmitButton, FormWithContext, } from "./components/form";
|
|
54
|
+
export { FieldErrorMessage, default as Form, FormField, FormSubmitButton, FormWithContext, } from "./components/form";
|
|
55
55
|
export { GlowCard, type GlowCardProps } from "./components/glow-card";
|
|
56
56
|
export { default as Grid } from "./components/grid";
|
|
57
57
|
export type { HeaderProps, HeaderRootProps } from "./components/header";
|
|
@@ -107,7 +107,7 @@ export type { ExpandToggleProps as TableExpandToggleProps, InlineConfirmProps as
|
|
|
107
107
|
export { default as Table, ExpandToggle as TableExpandToggle, InlineConfirm as TableInlineConfirm, MobileListView as TableMobileListView, SortIcon as TableSortIcon, VirtualSpacerRow as TableVirtualSpacerRow, } from "./components/table";
|
|
108
108
|
export type { TabIndicatorProps, TabListContainerProps, TabListProps, TabPanelProps, TabProps, TabSeparatorProps, TabsRootProps, } from "./components/tabs";
|
|
109
109
|
export { default as Tabs } from "./components/tabs";
|
|
110
|
-
export type { TextFamily, TextLeading, TextProps, TextRootProps, TextSize, TextTracking, TextTransform, TextVariant, TextWeight, } from "./components/text";
|
|
110
|
+
export type { TextAs, TextFamily, TextLeading, TextProps, TextRootProps, TextSize, TextTracking, TextTransform, TextVariant, TextWeight, } from "./components/text";
|
|
111
111
|
export { default as Text } from "./components/text";
|
|
112
112
|
export type { TextareaProps, TextareaRootProps, TextareaVariant, } from "./components/textarea";
|
|
113
113
|
export { default as Textarea } from "./components/textarea";
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ export { FieldGroup, FieldsetActions, FieldsetLegend, default as Fieldset } from
|
|
|
32
32
|
export { default as Flex } from "./components/flex/index.js";
|
|
33
33
|
export { createFlexGrid, default as FlexGrid } from "./components/flex-grid/index.js";
|
|
34
34
|
export { default as Footer } from "./components/footer/index.js";
|
|
35
|
-
export { FormField, FormSubmitButton, FormWithContext, default as Form } from "./components/form/index.js";
|
|
35
|
+
export { FieldErrorMessage, FormField, FormSubmitButton, FormWithContext, default as Form } from "./components/form/index.js";
|
|
36
36
|
export { GlowCard } from "./components/glow-card/index.js";
|
|
37
37
|
export { default as Grid } from "./components/grid/index.js";
|
|
38
38
|
export { default as Header } from "./components/header/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "solid-layouts-library-v2",
|
|
3
3
|
"package": "@pathscale/ui",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"components": {
|
|
6
6
|
"Accordion": {
|
|
7
7
|
"kind": "embedded"
|
|
@@ -153,6 +153,9 @@
|
|
|
153
153
|
"Composer": {
|
|
154
154
|
"kind": "embedded"
|
|
155
155
|
},
|
|
156
|
+
"ConnectionSettings": {
|
|
157
|
+
"kind": "embedded"
|
|
158
|
+
},
|
|
156
159
|
"CookieConsent": {
|
|
157
160
|
"kind": "embedded"
|
|
158
161
|
},
|
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
auto-cols-fr
|
|
2
|
+
auto-cols-max
|
|
3
|
+
auto-cols-min
|
|
4
|
+
auto-rows-fr
|
|
5
|
+
auto-rows-max
|
|
6
|
+
auto-rows-min
|
|
7
|
+
basis-0
|
|
8
|
+
basis-16
|
|
9
|
+
basis-24
|
|
10
|
+
basis-32
|
|
11
|
+
basis-8
|
|
12
|
+
flex-col
|
|
13
|
+
flex-col-reverse
|
|
14
|
+
flex-grow
|
|
15
|
+
flex-grow-0
|
|
16
|
+
flex-nowrap
|
|
17
|
+
flex-row
|
|
18
|
+
flex-row-reverse
|
|
19
|
+
flex-shrink
|
|
20
|
+
flex-shrink-0
|
|
21
|
+
flex-wrap
|
|
22
|
+
flex-wrap-reverse
|
|
23
|
+
gap-0
|
|
24
|
+
gap-2
|
|
25
|
+
gap-4
|
|
26
|
+
gap-6
|
|
27
|
+
gap-8
|
|
28
|
+
gap-x-0
|
|
29
|
+
gap-x-2
|
|
30
|
+
gap-x-4
|
|
31
|
+
gap-x-6
|
|
32
|
+
gap-x-8
|
|
33
|
+
gap-y-0
|
|
34
|
+
gap-y-2
|
|
35
|
+
gap-y-4
|
|
36
|
+
gap-y-6
|
|
37
|
+
gap-y-8
|
|
38
|
+
grid-cols-1
|
|
39
|
+
grid-cols-10
|
|
40
|
+
grid-cols-11
|
|
41
|
+
grid-cols-12
|
|
42
|
+
grid-cols-2
|
|
43
|
+
grid-cols-3
|
|
44
|
+
grid-cols-4
|
|
45
|
+
grid-cols-5
|
|
46
|
+
grid-cols-6
|
|
47
|
+
grid-cols-7
|
|
48
|
+
grid-cols-8
|
|
49
|
+
grid-cols-9
|
|
50
|
+
grid-flow-col
|
|
51
|
+
grid-flow-col-dense
|
|
52
|
+
grid-flow-row
|
|
53
|
+
grid-flow-row-dense
|
|
54
|
+
grid-rows-1
|
|
55
|
+
grid-rows-10
|
|
56
|
+
grid-rows-11
|
|
57
|
+
grid-rows-12
|
|
58
|
+
grid-rows-2
|
|
59
|
+
grid-rows-3
|
|
60
|
+
grid-rows-4
|
|
61
|
+
grid-rows-5
|
|
62
|
+
grid-rows-6
|
|
63
|
+
grid-rows-7
|
|
64
|
+
grid-rows-8
|
|
65
|
+
grid-rows-9
|
|
66
|
+
h-full
|
|
67
|
+
items-baseline
|
|
68
|
+
items-center
|
|
69
|
+
items-end
|
|
70
|
+
items-start
|
|
71
|
+
items-stretch
|
|
72
|
+
justify-around
|
|
73
|
+
justify-between
|
|
74
|
+
justify-center
|
|
75
|
+
justify-end
|
|
76
|
+
justify-evenly
|
|
77
|
+
justify-start
|
|
78
|
+
lg:auto-cols-fr
|
|
79
|
+
lg:auto-cols-max
|
|
80
|
+
lg:auto-cols-min
|
|
81
|
+
lg:auto-rows-fr
|
|
82
|
+
lg:auto-rows-max
|
|
83
|
+
lg:auto-rows-min
|
|
84
|
+
lg:basis-0
|
|
85
|
+
lg:basis-16
|
|
86
|
+
lg:basis-24
|
|
87
|
+
lg:basis-32
|
|
88
|
+
lg:basis-8
|
|
89
|
+
lg:flex-col
|
|
90
|
+
lg:flex-col-reverse
|
|
91
|
+
lg:flex-grow
|
|
92
|
+
lg:flex-grow-0
|
|
93
|
+
lg:flex-nowrap
|
|
94
|
+
lg:flex-row
|
|
95
|
+
lg:flex-row-reverse
|
|
96
|
+
lg:flex-shrink
|
|
97
|
+
lg:flex-shrink-0
|
|
98
|
+
lg:flex-wrap
|
|
99
|
+
lg:flex-wrap-reverse
|
|
100
|
+
lg:gap-0
|
|
101
|
+
lg:gap-2
|
|
102
|
+
lg:gap-4
|
|
103
|
+
lg:gap-6
|
|
104
|
+
lg:gap-8
|
|
105
|
+
lg:gap-x-0
|
|
106
|
+
lg:gap-x-2
|
|
107
|
+
lg:gap-x-4
|
|
108
|
+
lg:gap-x-6
|
|
109
|
+
lg:gap-x-8
|
|
110
|
+
lg:gap-y-0
|
|
111
|
+
lg:gap-y-2
|
|
112
|
+
lg:gap-y-4
|
|
113
|
+
lg:gap-y-6
|
|
114
|
+
lg:gap-y-8
|
|
115
|
+
lg:grid-cols-1
|
|
116
|
+
lg:grid-cols-10
|
|
117
|
+
lg:grid-cols-11
|
|
118
|
+
lg:grid-cols-12
|
|
119
|
+
lg:grid-cols-2
|
|
120
|
+
lg:grid-cols-3
|
|
121
|
+
lg:grid-cols-4
|
|
122
|
+
lg:grid-cols-5
|
|
123
|
+
lg:grid-cols-6
|
|
124
|
+
lg:grid-cols-7
|
|
125
|
+
lg:grid-cols-8
|
|
126
|
+
lg:grid-cols-9
|
|
127
|
+
lg:grid-flow-col
|
|
128
|
+
lg:grid-flow-col-dense
|
|
129
|
+
lg:grid-flow-row
|
|
130
|
+
lg:grid-flow-row-dense
|
|
131
|
+
lg:grid-rows-1
|
|
132
|
+
lg:grid-rows-10
|
|
133
|
+
lg:grid-rows-11
|
|
134
|
+
lg:grid-rows-12
|
|
135
|
+
lg:grid-rows-2
|
|
136
|
+
lg:grid-rows-3
|
|
137
|
+
lg:grid-rows-4
|
|
138
|
+
lg:grid-rows-5
|
|
139
|
+
lg:grid-rows-6
|
|
140
|
+
lg:grid-rows-7
|
|
141
|
+
lg:grid-rows-8
|
|
142
|
+
lg:grid-rows-9
|
|
143
|
+
lg:h-full
|
|
144
|
+
lg:items-baseline
|
|
145
|
+
lg:items-center
|
|
146
|
+
lg:items-end
|
|
147
|
+
lg:items-start
|
|
148
|
+
lg:items-stretch
|
|
149
|
+
lg:justify-around
|
|
150
|
+
lg:justify-between
|
|
151
|
+
lg:justify-center
|
|
152
|
+
lg:justify-end
|
|
153
|
+
lg:justify-evenly
|
|
154
|
+
lg:justify-start
|
|
155
|
+
lg:min-h-0
|
|
156
|
+
lg:min-w-0
|
|
157
|
+
lg:px-0
|
|
158
|
+
lg:px-2
|
|
159
|
+
lg:px-4
|
|
160
|
+
lg:px-6
|
|
161
|
+
lg:px-8
|
|
162
|
+
lg:py-0
|
|
163
|
+
lg:py-2
|
|
164
|
+
lg:py-4
|
|
165
|
+
lg:py-6
|
|
166
|
+
lg:py-8
|
|
167
|
+
lg:w-full
|
|
168
|
+
md:auto-cols-fr
|
|
169
|
+
md:auto-cols-max
|
|
170
|
+
md:auto-cols-min
|
|
171
|
+
md:auto-rows-fr
|
|
172
|
+
md:auto-rows-max
|
|
173
|
+
md:auto-rows-min
|
|
174
|
+
md:basis-0
|
|
175
|
+
md:basis-16
|
|
176
|
+
md:basis-24
|
|
177
|
+
md:basis-32
|
|
178
|
+
md:basis-8
|
|
179
|
+
md:flex-col
|
|
180
|
+
md:flex-col-reverse
|
|
181
|
+
md:flex-grow
|
|
182
|
+
md:flex-grow-0
|
|
183
|
+
md:flex-nowrap
|
|
184
|
+
md:flex-row
|
|
185
|
+
md:flex-row-reverse
|
|
186
|
+
md:flex-shrink
|
|
187
|
+
md:flex-shrink-0
|
|
188
|
+
md:flex-wrap
|
|
189
|
+
md:flex-wrap-reverse
|
|
190
|
+
md:gap-0
|
|
191
|
+
md:gap-2
|
|
192
|
+
md:gap-4
|
|
193
|
+
md:gap-6
|
|
194
|
+
md:gap-8
|
|
195
|
+
md:gap-x-0
|
|
196
|
+
md:gap-x-2
|
|
197
|
+
md:gap-x-4
|
|
198
|
+
md:gap-x-6
|
|
199
|
+
md:gap-x-8
|
|
200
|
+
md:gap-y-0
|
|
201
|
+
md:gap-y-2
|
|
202
|
+
md:gap-y-4
|
|
203
|
+
md:gap-y-6
|
|
204
|
+
md:gap-y-8
|
|
205
|
+
md:grid-cols-1
|
|
206
|
+
md:grid-cols-10
|
|
207
|
+
md:grid-cols-11
|
|
208
|
+
md:grid-cols-12
|
|
209
|
+
md:grid-cols-2
|
|
210
|
+
md:grid-cols-3
|
|
211
|
+
md:grid-cols-4
|
|
212
|
+
md:grid-cols-5
|
|
213
|
+
md:grid-cols-6
|
|
214
|
+
md:grid-cols-7
|
|
215
|
+
md:grid-cols-8
|
|
216
|
+
md:grid-cols-9
|
|
217
|
+
md:grid-flow-col
|
|
218
|
+
md:grid-flow-col-dense
|
|
219
|
+
md:grid-flow-row
|
|
220
|
+
md:grid-flow-row-dense
|
|
221
|
+
md:grid-rows-1
|
|
222
|
+
md:grid-rows-10
|
|
223
|
+
md:grid-rows-11
|
|
224
|
+
md:grid-rows-12
|
|
225
|
+
md:grid-rows-2
|
|
226
|
+
md:grid-rows-3
|
|
227
|
+
md:grid-rows-4
|
|
228
|
+
md:grid-rows-5
|
|
229
|
+
md:grid-rows-6
|
|
230
|
+
md:grid-rows-7
|
|
231
|
+
md:grid-rows-8
|
|
232
|
+
md:grid-rows-9
|
|
233
|
+
md:h-full
|
|
234
|
+
md:items-baseline
|
|
235
|
+
md:items-center
|
|
236
|
+
md:items-end
|
|
237
|
+
md:items-start
|
|
238
|
+
md:items-stretch
|
|
239
|
+
md:justify-around
|
|
240
|
+
md:justify-between
|
|
241
|
+
md:justify-center
|
|
242
|
+
md:justify-end
|
|
243
|
+
md:justify-evenly
|
|
244
|
+
md:justify-start
|
|
245
|
+
md:min-h-0
|
|
246
|
+
md:min-w-0
|
|
247
|
+
md:px-0
|
|
248
|
+
md:px-2
|
|
249
|
+
md:px-4
|
|
250
|
+
md:px-6
|
|
251
|
+
md:px-8
|
|
252
|
+
md:py-0
|
|
253
|
+
md:py-2
|
|
254
|
+
md:py-4
|
|
255
|
+
md:py-6
|
|
256
|
+
md:py-8
|
|
257
|
+
md:w-full
|
|
258
|
+
min-h-0
|
|
259
|
+
min-w-0
|
|
260
|
+
px-0
|
|
261
|
+
px-2
|
|
262
|
+
px-4
|
|
263
|
+
px-6
|
|
264
|
+
px-8
|
|
265
|
+
py-0
|
|
266
|
+
py-2
|
|
267
|
+
py-4
|
|
268
|
+
py-6
|
|
269
|
+
py-8
|
|
270
|
+
sm:auto-cols-fr
|
|
271
|
+
sm:auto-cols-max
|
|
272
|
+
sm:auto-cols-min
|
|
273
|
+
sm:auto-rows-fr
|
|
274
|
+
sm:auto-rows-max
|
|
275
|
+
sm:auto-rows-min
|
|
276
|
+
sm:basis-0
|
|
277
|
+
sm:basis-16
|
|
278
|
+
sm:basis-24
|
|
279
|
+
sm:basis-32
|
|
280
|
+
sm:basis-8
|
|
281
|
+
sm:flex-col
|
|
282
|
+
sm:flex-col-reverse
|
|
283
|
+
sm:flex-grow
|
|
284
|
+
sm:flex-grow-0
|
|
285
|
+
sm:flex-nowrap
|
|
286
|
+
sm:flex-row
|
|
287
|
+
sm:flex-row-reverse
|
|
288
|
+
sm:flex-shrink
|
|
289
|
+
sm:flex-shrink-0
|
|
290
|
+
sm:flex-wrap
|
|
291
|
+
sm:flex-wrap-reverse
|
|
292
|
+
sm:gap-0
|
|
293
|
+
sm:gap-2
|
|
294
|
+
sm:gap-4
|
|
295
|
+
sm:gap-6
|
|
296
|
+
sm:gap-8
|
|
297
|
+
sm:gap-x-0
|
|
298
|
+
sm:gap-x-2
|
|
299
|
+
sm:gap-x-4
|
|
300
|
+
sm:gap-x-6
|
|
301
|
+
sm:gap-x-8
|
|
302
|
+
sm:gap-y-0
|
|
303
|
+
sm:gap-y-2
|
|
304
|
+
sm:gap-y-4
|
|
305
|
+
sm:gap-y-6
|
|
306
|
+
sm:gap-y-8
|
|
307
|
+
sm:grid-cols-1
|
|
308
|
+
sm:grid-cols-10
|
|
309
|
+
sm:grid-cols-11
|
|
310
|
+
sm:grid-cols-12
|
|
311
|
+
sm:grid-cols-2
|
|
312
|
+
sm:grid-cols-3
|
|
313
|
+
sm:grid-cols-4
|
|
314
|
+
sm:grid-cols-5
|
|
315
|
+
sm:grid-cols-6
|
|
316
|
+
sm:grid-cols-7
|
|
317
|
+
sm:grid-cols-8
|
|
318
|
+
sm:grid-cols-9
|
|
319
|
+
sm:grid-flow-col
|
|
320
|
+
sm:grid-flow-col-dense
|
|
321
|
+
sm:grid-flow-row
|
|
322
|
+
sm:grid-flow-row-dense
|
|
323
|
+
sm:grid-rows-1
|
|
324
|
+
sm:grid-rows-10
|
|
325
|
+
sm:grid-rows-11
|
|
326
|
+
sm:grid-rows-12
|
|
327
|
+
sm:grid-rows-2
|
|
328
|
+
sm:grid-rows-3
|
|
329
|
+
sm:grid-rows-4
|
|
330
|
+
sm:grid-rows-5
|
|
331
|
+
sm:grid-rows-6
|
|
332
|
+
sm:grid-rows-7
|
|
333
|
+
sm:grid-rows-8
|
|
334
|
+
sm:grid-rows-9
|
|
335
|
+
sm:h-full
|
|
336
|
+
sm:items-baseline
|
|
337
|
+
sm:items-center
|
|
338
|
+
sm:items-end
|
|
339
|
+
sm:items-start
|
|
340
|
+
sm:items-stretch
|
|
341
|
+
sm:justify-around
|
|
342
|
+
sm:justify-between
|
|
343
|
+
sm:justify-center
|
|
344
|
+
sm:justify-end
|
|
345
|
+
sm:justify-evenly
|
|
346
|
+
sm:justify-start
|
|
347
|
+
sm:min-h-0
|
|
348
|
+
sm:min-w-0
|
|
349
|
+
sm:px-0
|
|
350
|
+
sm:px-2
|
|
351
|
+
sm:px-4
|
|
352
|
+
sm:px-6
|
|
353
|
+
sm:px-8
|
|
354
|
+
sm:py-0
|
|
355
|
+
sm:py-2
|
|
356
|
+
sm:py-4
|
|
357
|
+
sm:py-6
|
|
358
|
+
sm:py-8
|
|
359
|
+
sm:w-full
|
|
360
|
+
w-full
|
|
361
|
+
xl:auto-cols-fr
|
|
362
|
+
xl:auto-cols-max
|
|
363
|
+
xl:auto-cols-min
|
|
364
|
+
xl:auto-rows-fr
|
|
365
|
+
xl:auto-rows-max
|
|
366
|
+
xl:auto-rows-min
|
|
367
|
+
xl:basis-0
|
|
368
|
+
xl:basis-16
|
|
369
|
+
xl:basis-24
|
|
370
|
+
xl:basis-32
|
|
371
|
+
xl:basis-8
|
|
372
|
+
xl:flex-col
|
|
373
|
+
xl:flex-col-reverse
|
|
374
|
+
xl:flex-grow
|
|
375
|
+
xl:flex-grow-0
|
|
376
|
+
xl:flex-nowrap
|
|
377
|
+
xl:flex-row
|
|
378
|
+
xl:flex-row-reverse
|
|
379
|
+
xl:flex-shrink
|
|
380
|
+
xl:flex-shrink-0
|
|
381
|
+
xl:flex-wrap
|
|
382
|
+
xl:flex-wrap-reverse
|
|
383
|
+
xl:gap-0
|
|
384
|
+
xl:gap-2
|
|
385
|
+
xl:gap-4
|
|
386
|
+
xl:gap-6
|
|
387
|
+
xl:gap-8
|
|
388
|
+
xl:gap-x-0
|
|
389
|
+
xl:gap-x-2
|
|
390
|
+
xl:gap-x-4
|
|
391
|
+
xl:gap-x-6
|
|
392
|
+
xl:gap-x-8
|
|
393
|
+
xl:gap-y-0
|
|
394
|
+
xl:gap-y-2
|
|
395
|
+
xl:gap-y-4
|
|
396
|
+
xl:gap-y-6
|
|
397
|
+
xl:gap-y-8
|
|
398
|
+
xl:grid-cols-1
|
|
399
|
+
xl:grid-cols-10
|
|
400
|
+
xl:grid-cols-11
|
|
401
|
+
xl:grid-cols-12
|
|
402
|
+
xl:grid-cols-2
|
|
403
|
+
xl:grid-cols-3
|
|
404
|
+
xl:grid-cols-4
|
|
405
|
+
xl:grid-cols-5
|
|
406
|
+
xl:grid-cols-6
|
|
407
|
+
xl:grid-cols-7
|
|
408
|
+
xl:grid-cols-8
|
|
409
|
+
xl:grid-cols-9
|
|
410
|
+
xl:grid-flow-col
|
|
411
|
+
xl:grid-flow-col-dense
|
|
412
|
+
xl:grid-flow-row
|
|
413
|
+
xl:grid-flow-row-dense
|
|
414
|
+
xl:grid-rows-1
|
|
415
|
+
xl:grid-rows-10
|
|
416
|
+
xl:grid-rows-11
|
|
417
|
+
xl:grid-rows-12
|
|
418
|
+
xl:grid-rows-2
|
|
419
|
+
xl:grid-rows-3
|
|
420
|
+
xl:grid-rows-4
|
|
421
|
+
xl:grid-rows-5
|
|
422
|
+
xl:grid-rows-6
|
|
423
|
+
xl:grid-rows-7
|
|
424
|
+
xl:grid-rows-8
|
|
425
|
+
xl:grid-rows-9
|
|
426
|
+
xl:h-full
|
|
427
|
+
xl:items-baseline
|
|
428
|
+
xl:items-center
|
|
429
|
+
xl:items-end
|
|
430
|
+
xl:items-start
|
|
431
|
+
xl:items-stretch
|
|
432
|
+
xl:justify-around
|
|
433
|
+
xl:justify-between
|
|
434
|
+
xl:justify-center
|
|
435
|
+
xl:justify-end
|
|
436
|
+
xl:justify-evenly
|
|
437
|
+
xl:justify-start
|
|
438
|
+
xl:min-h-0
|
|
439
|
+
xl:min-w-0
|
|
440
|
+
xl:px-0
|
|
441
|
+
xl:px-2
|
|
442
|
+
xl:px-4
|
|
443
|
+
xl:px-6
|
|
444
|
+
xl:px-8
|
|
445
|
+
xl:py-0
|
|
446
|
+
xl:py-2
|
|
447
|
+
xl:py-4
|
|
448
|
+
xl:py-6
|
|
449
|
+
xl:py-8
|
|
450
|
+
xl:w-full
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pathscale/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"author": "pathscale",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
"types": "./dist/lab.d.ts",
|
|
44
44
|
"import": "./dist/lab.js"
|
|
45
45
|
},
|
|
46
|
+
"./passwordRules": {
|
|
47
|
+
"types": "./dist/passwordRules.d.ts",
|
|
48
|
+
"import": "./dist/passwordRules.js"
|
|
49
|
+
},
|
|
46
50
|
"./layouts": "./dist/layouts.manifest.json",
|
|
47
51
|
"./components/*": {
|
|
48
52
|
"types": "./dist/components/*/index.d.ts",
|
|
@@ -75,7 +79,7 @@
|
|
|
75
79
|
"@rsbuild/plugin-solid": "^1.2.1",
|
|
76
80
|
"@rslib/core": "^0.22.0",
|
|
77
81
|
"@solidjs/h": "^2.0.0-rc.0",
|
|
78
|
-
"@solidjs/web": "
|
|
82
|
+
"@solidjs/web": "2.0.0-rc.4",
|
|
79
83
|
"@standard-schema/spec": "^1.1.0",
|
|
80
84
|
"@tailwindcss/postcss": "^4.3.3",
|
|
81
85
|
"@types/bun": "^1.3.14",
|
|
@@ -87,14 +91,15 @@
|
|
|
87
91
|
"postcss-cli": "^11.0.1",
|
|
88
92
|
"postcss-selector-parser": "^7.1.1",
|
|
89
93
|
"rsbuild-plugin-solid-layouts": "^0.2.1",
|
|
90
|
-
"solid-js": "
|
|
91
|
-
"solid-layouts": "^0.2.
|
|
94
|
+
"solid-js": "2.0.0-rc.4",
|
|
95
|
+
"solid-layouts": "^0.2.4",
|
|
92
96
|
"solid-layouts-oxc": "^0.2.3",
|
|
93
97
|
"svgo": "^3.3.3",
|
|
94
98
|
"tailwindcss": "^4.3.3",
|
|
95
99
|
"typescript": "^6.0.3"
|
|
96
100
|
},
|
|
97
101
|
"overrides": {
|
|
102
|
+
"@solidjs/signals": "2.0.0-rc.4",
|
|
98
103
|
"babel-preset-solid": "^2.0.0-rc.0"
|
|
99
104
|
},
|
|
100
105
|
"dependencies": {
|
|
@@ -106,7 +111,7 @@
|
|
|
106
111
|
"@solidjs/web": ">=2.0.0-rc.0",
|
|
107
112
|
"popmotion": "^11.0.5",
|
|
108
113
|
"solid-js": ">=2.0.0-rc.0",
|
|
109
|
-
"solid-layouts": "^0.2.
|
|
114
|
+
"solid-layouts": "^0.2.4"
|
|
110
115
|
},
|
|
111
116
|
"peerDependenciesMeta": {
|
|
112
117
|
"@standard-schema/spec": {
|