rei-kit 3.1.0 → 3.2.1
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 +4 -4
- package/dist/app/TourShell.vue.d.ts +2 -0
- package/dist/app/index.d.ts +96 -6
- package/dist/app.js +2 -2
- package/dist/app.js.map +1 -1
- package/dist/components/BaseDatePicker.vue.d.ts +8 -0
- package/dist/components/BaseInput.vue.d.ts +8 -0
- package/dist/components/BaseSelect.vue.d.ts +8 -0
- package/dist/components/BaseTextarea.vue.d.ts +8 -0
- package/dist/components/ColorPicker.vue.d.ts +8 -0
- package/dist/components/NumberInput.vue.d.ts +8 -0
- package/dist/components/SectionHeading.vue.d.ts +6 -0
- package/dist/components/StatCard.vue.d.ts +5 -0
- package/dist/components/TagsInput.vue.d.ts +8 -0
- package/dist/components/TimePicker.vue.d.ts +8 -0
- package/dist/index.d.ts +913 -56
- package/dist/index.js +35 -14
- package/dist/index.js.map +1 -1
- package/dist/motion/index.d.ts +47 -3
- package/dist/motion.css +10 -1
- package/dist/pwa/index.d.ts +42 -2
- package/dist/styles.css +56 -56
- package/dist/{use-announce-QN44Whqc.js → use-announce-D8SKsiqn.js} +5 -2
- package/dist/use-announce-D8SKsiqn.js.map +1 -0
- package/dist/web/index.d.ts +308 -7
- package/package.json +2 -1
- package/dist/use-announce-QN44Whqc.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as addDays, c as lastNDays, d as toDateKey, f as todayKey, i as needsIosInstall, l as leadingBlanks, n as isApplePortable, o as eachDayOfYear, r as isInstalled, s as fromDateKey, t as SettingsGroup_default, u as startOfWeek } from "./SettingsGroup-BXkajKGl.js";
|
|
2
2
|
import { a as formatNumber, i as formatDate, o as setFormatLocale, r as watchVisibility } from "./environment-Cz5KiC1t.js";
|
|
3
3
|
import { a as BaseCheckbox_default, c as useBoundValue, d as ensureSheetRoot, i as textDirection, l as useVisualViewport, n as elementDirection, o as BaseSheet_default, r as horizontalStep, t as focusTarget, u as SHEET_ROOT_ID } from "./focus-target-BtcoJdmz.js";
|
|
4
|
-
import { _ as toRedirectPath, a as useFieldAttrs, c as useToast, d as isThemePreference, f as readStoredTheme, g as safeRedirect, h as tapFeedback, i as BaseInput_default, l as useOnline, m as useTheme, n as useAnnounce, o as FormField_default, p as setThemeStorageKey, r as GoogleButton_default, s as BaseAlert_default, t as announce, u as applyTheme } from "./use-announce-
|
|
4
|
+
import { _ as toRedirectPath, a as useFieldAttrs, c as useToast, d as isThemePreference, f as readStoredTheme, g as safeRedirect, h as tapFeedback, i as BaseInput_default, l as useOnline, m as useTheme, n as useAnnounce, o as FormField_default, p as setThemeStorageKey, r as GoogleButton_default, s as BaseAlert_default, t as announce, u as applyTheme } from "./use-announce-D8SKsiqn.js";
|
|
5
5
|
import { n as registerErrorMapper, r as toAppError, t as AppError } from "./app-error-DF9cijE0.js";
|
|
6
6
|
import { a as BaseSkeleton_default, c as useMediaQuery, l as useDragScroll, n as ScrollArea_default, o as useMenuKeys, s as useAnchoredPanel, t as BaseListbox_default } from "./BaseListbox-D-NQ6nDd.js";
|
|
7
7
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.js";
|
|
@@ -1014,7 +1014,8 @@ var BaseSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
1014
1014
|
},
|
|
1015
1015
|
placeholder: { default: "" },
|
|
1016
1016
|
size: { default: "md" },
|
|
1017
|
-
variant: { default: "default" }
|
|
1017
|
+
variant: { default: "default" },
|
|
1018
|
+
fieldId: { default: () => void 0 }
|
|
1018
1019
|
}, {
|
|
1019
1020
|
"modelValue": {},
|
|
1020
1021
|
"modelModifiers": {}
|
|
@@ -1028,6 +1029,7 @@ var BaseSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
1028
1029
|
const model = useModel(__props, "modelValue");
|
|
1029
1030
|
return (_ctx, _cache) => {
|
|
1030
1031
|
return openBlock(), createBlock(FormField_default, {
|
|
1032
|
+
"field-id": __props.fieldId,
|
|
1031
1033
|
label: __props.label,
|
|
1032
1034
|
error: __props.error,
|
|
1033
1035
|
hint: __props.hint,
|
|
@@ -1056,6 +1058,7 @@ var BaseSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
1056
1058
|
})])]),
|
|
1057
1059
|
_: 1
|
|
1058
1060
|
}, 8, [
|
|
1061
|
+
"field-id",
|
|
1059
1062
|
"label",
|
|
1060
1063
|
"error",
|
|
1061
1064
|
"hint",
|
|
@@ -1186,7 +1189,8 @@ var NumberInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
1186
1189
|
disabled: {
|
|
1187
1190
|
type: Boolean,
|
|
1188
1191
|
default: false
|
|
1189
|
-
}
|
|
1192
|
+
},
|
|
1193
|
+
fieldId: { default: () => void 0 }
|
|
1190
1194
|
}, {
|
|
1191
1195
|
"modelValue": {},
|
|
1192
1196
|
"modelModifiers": {}
|
|
@@ -1247,6 +1251,7 @@ var NumberInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
1247
1251
|
const atMax = computed(() => model.value !== void 0 && model.value >= __props.max);
|
|
1248
1252
|
return (_ctx, _cache) => {
|
|
1249
1253
|
return openBlock(), createBlock(FormField_default, {
|
|
1254
|
+
"field-id": __props.fieldId,
|
|
1250
1255
|
label: __props.label,
|
|
1251
1256
|
error: __props.error,
|
|
1252
1257
|
hint: __props.hint,
|
|
@@ -1300,6 +1305,7 @@ var NumberInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
1300
1305
|
], 2)]),
|
|
1301
1306
|
_: 1
|
|
1302
1307
|
}, 8, [
|
|
1308
|
+
"field-id",
|
|
1303
1309
|
"label",
|
|
1304
1310
|
"error",
|
|
1305
1311
|
"hint",
|
|
@@ -1308,7 +1314,7 @@ var NumberInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
1308
1314
|
]);
|
|
1309
1315
|
};
|
|
1310
1316
|
}
|
|
1311
|
-
}), [["__scopeId", "data-v-
|
|
1317
|
+
}), [["__scopeId", "data-v-d8a8fb7e"]]);
|
|
1312
1318
|
//#endregion
|
|
1313
1319
|
//#region src/components/SliderField.vue?vue&type=script&setup=true&lang.ts
|
|
1314
1320
|
var _hoisted_1$44 = { class: "rk-slider-field" };
|
|
@@ -1595,7 +1601,8 @@ var BaseTextarea_default = /* @__PURE__ */ defineComponent({
|
|
|
1595
1601
|
},
|
|
1596
1602
|
rows: { default: 4 },
|
|
1597
1603
|
size: { default: "md" },
|
|
1598
|
-
variant: { default: "default" }
|
|
1604
|
+
variant: { default: "default" },
|
|
1605
|
+
fieldId: { default: () => void 0 }
|
|
1599
1606
|
},
|
|
1600
1607
|
emits: ["update:modelValue"],
|
|
1601
1608
|
setup(__props, { emit: __emit }) {
|
|
@@ -1604,6 +1611,7 @@ var BaseTextarea_default = /* @__PURE__ */ defineComponent({
|
|
|
1604
1611
|
const model = useBoundValue(() => __props.modelValue, (value) => emit("update:modelValue", value));
|
|
1605
1612
|
return (_ctx, _cache) => {
|
|
1606
1613
|
return openBlock(), createBlock(FormField_default, {
|
|
1614
|
+
"field-id": __props.fieldId,
|
|
1607
1615
|
class: normalizeClass(unref(fieldClass)),
|
|
1608
1616
|
style: normalizeStyle(unref(fieldStyle)),
|
|
1609
1617
|
label: __props.label,
|
|
@@ -1625,6 +1633,7 @@ var BaseTextarea_default = /* @__PURE__ */ defineComponent({
|
|
|
1625
1633
|
] }), null, 16, _hoisted_1$40), [[vModelText, unref(model)]])]),
|
|
1626
1634
|
_: 1
|
|
1627
1635
|
}, 8, [
|
|
1636
|
+
"field-id",
|
|
1628
1637
|
"class",
|
|
1629
1638
|
"style",
|
|
1630
1639
|
"label",
|
|
@@ -3408,7 +3417,8 @@ var ColorPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
3408
3417
|
labelHidden: {
|
|
3409
3418
|
type: Boolean,
|
|
3410
3419
|
default: false
|
|
3411
|
-
}
|
|
3420
|
+
},
|
|
3421
|
+
fieldId: { default: () => void 0 }
|
|
3412
3422
|
},
|
|
3413
3423
|
emits: ["update:modelValue"],
|
|
3414
3424
|
setup(__props, { emit: __emit }) {
|
|
@@ -3452,6 +3462,7 @@ var ColorPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
3452
3462
|
const chosen = (value) => normalise(value) === current.value;
|
|
3453
3463
|
return (_ctx, _cache) => {
|
|
3454
3464
|
return openBlock(), createBlock(FormField_default, {
|
|
3465
|
+
"field-id": __props.fieldId,
|
|
3455
3466
|
label: __props.label,
|
|
3456
3467
|
hint: __props.hint,
|
|
3457
3468
|
error: __props.error,
|
|
@@ -3498,6 +3509,7 @@ var ColorPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
3498
3509
|
])]),
|
|
3499
3510
|
_: 1
|
|
3500
3511
|
}, 8, [
|
|
3512
|
+
"field-id",
|
|
3501
3513
|
"label",
|
|
3502
3514
|
"hint",
|
|
3503
3515
|
"error",
|
|
@@ -3505,7 +3517,7 @@ var ColorPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
3505
3517
|
]);
|
|
3506
3518
|
};
|
|
3507
3519
|
}
|
|
3508
|
-
}), [["__scopeId", "data-v-
|
|
3520
|
+
}), [["__scopeId", "data-v-721fcae8"]]);
|
|
3509
3521
|
//#endregion
|
|
3510
3522
|
//#region src/components/CopyButton.vue?vue&type=script&setup=true&lang.ts
|
|
3511
3523
|
var _hoisted_1$14 = ["aria-label"];
|
|
@@ -3828,7 +3840,8 @@ var TagsInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
3828
3840
|
disabled: {
|
|
3829
3841
|
type: Boolean,
|
|
3830
3842
|
default: false
|
|
3831
|
-
}
|
|
3843
|
+
},
|
|
3844
|
+
fieldId: { default: () => void 0 }
|
|
3832
3845
|
}, {
|
|
3833
3846
|
"modelValue": { default: () => [] },
|
|
3834
3847
|
"modelModifiers": {}
|
|
@@ -3878,6 +3891,7 @@ var TagsInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
3878
3891
|
}
|
|
3879
3892
|
return (_ctx, _cache) => {
|
|
3880
3893
|
return openBlock(), createBlock(FormField_default, {
|
|
3894
|
+
"field-id": __props.fieldId,
|
|
3881
3895
|
label: __props.label,
|
|
3882
3896
|
error: __props.error,
|
|
3883
3897
|
hint: __props.hint,
|
|
@@ -3919,6 +3933,7 @@ var TagsInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
3919
3933
|
}, null, 40, _hoisted_1$10), [[vModelText, draft.value]])], 2)]),
|
|
3920
3934
|
_: 1
|
|
3921
3935
|
}, 8, [
|
|
3936
|
+
"field-id",
|
|
3922
3937
|
"label",
|
|
3923
3938
|
"error",
|
|
3924
3939
|
"hint",
|
|
@@ -3927,7 +3942,7 @@ var TagsInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
3927
3942
|
]);
|
|
3928
3943
|
};
|
|
3929
3944
|
}
|
|
3930
|
-
}), [["__scopeId", "data-v-
|
|
3945
|
+
}), [["__scopeId", "data-v-572364bd"]]);
|
|
3931
3946
|
//#endregion
|
|
3932
3947
|
//#region src/components/BasePopover.vue?vue&type=script&setup=true&lang.ts
|
|
3933
3948
|
var _hoisted_1$9 = ["id", "aria-label"];
|
|
@@ -4056,7 +4071,8 @@ var TimePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
4056
4071
|
disabled: {
|
|
4057
4072
|
type: Boolean,
|
|
4058
4073
|
default: false
|
|
4059
|
-
}
|
|
4074
|
+
},
|
|
4075
|
+
fieldId: { default: () => void 0 }
|
|
4060
4076
|
}, {
|
|
4061
4077
|
"modelValue": {},
|
|
4062
4078
|
"modelModifiers": {}
|
|
@@ -4111,6 +4127,7 @@ var TimePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
4111
4127
|
}
|
|
4112
4128
|
return (_ctx, _cache) => {
|
|
4113
4129
|
return openBlock(), createBlock(FormField_default, {
|
|
4130
|
+
"field-id": __props.fieldId,
|
|
4114
4131
|
label: __props.label,
|
|
4115
4132
|
error: __props.error,
|
|
4116
4133
|
hint: __props.hint,
|
|
@@ -4161,6 +4178,7 @@ var TimePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
4161
4178
|
}, 1032, ["modelValue", "label"])]),
|
|
4162
4179
|
_: 1
|
|
4163
4180
|
}, 8, [
|
|
4181
|
+
"field-id",
|
|
4164
4182
|
"label",
|
|
4165
4183
|
"error",
|
|
4166
4184
|
"hint",
|
|
@@ -4169,7 +4187,7 @@ var TimePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
4169
4187
|
]);
|
|
4170
4188
|
};
|
|
4171
4189
|
}
|
|
4172
|
-
}), [["__scopeId", "data-v-
|
|
4190
|
+
}), [["__scopeId", "data-v-2ae98769"]]);
|
|
4173
4191
|
//#endregion
|
|
4174
4192
|
//#region src/components/BaseTimeline.vue?vue&type=script&setup=true&lang.ts
|
|
4175
4193
|
var _hoisted_1$7 = ["aria-label"];
|
|
@@ -4270,7 +4288,8 @@ var BaseDatePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
4270
4288
|
disabled: {
|
|
4271
4289
|
type: Boolean,
|
|
4272
4290
|
default: false
|
|
4273
|
-
}
|
|
4291
|
+
},
|
|
4292
|
+
fieldId: { default: () => void 0 }
|
|
4274
4293
|
}, {
|
|
4275
4294
|
"modelValue": {},
|
|
4276
4295
|
"modelModifiers": {}
|
|
@@ -4301,6 +4320,7 @@ var BaseDatePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
4301
4320
|
}
|
|
4302
4321
|
return (_ctx, _cache) => {
|
|
4303
4322
|
return openBlock(), createBlock(FormField_default, {
|
|
4323
|
+
"field-id": __props.fieldId,
|
|
4304
4324
|
label: __props.label,
|
|
4305
4325
|
error: __props.error,
|
|
4306
4326
|
hint: __props.hint,
|
|
@@ -4362,6 +4382,7 @@ var BaseDatePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
4362
4382
|
}, 1032, ["modelValue", "label"])]),
|
|
4363
4383
|
_: 1
|
|
4364
4384
|
}, 8, [
|
|
4385
|
+
"field-id",
|
|
4365
4386
|
"label",
|
|
4366
4387
|
"error",
|
|
4367
4388
|
"hint",
|
|
@@ -4370,7 +4391,7 @@ var BaseDatePicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
4370
4391
|
]);
|
|
4371
4392
|
};
|
|
4372
4393
|
}
|
|
4373
|
-
}), [["__scopeId", "data-v-
|
|
4394
|
+
}), [["__scopeId", "data-v-2c91e3bb"]]);
|
|
4374
4395
|
//#endregion
|
|
4375
4396
|
//#region src/components/BasePopconfirm.vue?vue&type=script&setup=true&lang.ts
|
|
4376
4397
|
var _hoisted_1$5 = { class: "rk-confirm" };
|
|
@@ -5104,7 +5125,7 @@ function createI18nRuntime(options) {
|
|
|
5104
5125
|
*
|
|
5105
5126
|
* The fallback keeps `vitest` and `vite dev` honest, where no define runs.
|
|
5106
5127
|
*/
|
|
5107
|
-
var VERSION = "3.1
|
|
5128
|
+
var VERSION = "3.2.1";
|
|
5108
5129
|
//#endregion
|
|
5109
5130
|
export { ActivityGrid_default as ActivityGrid, AnnounceHost_default as AnnounceHost, AppError, AvatarStack_default as AvatarStack, BarChart_default as BarChart, BaseAlert_default as BaseAlert, BaseAvatar_default as BaseAvatar, BaseBadge_default as BaseBadge, BaseButton_default as BaseButton, BaseCalendar_default as BaseCalendar, BaseCard_default as BaseCard, BaseCheckbox_default as BaseCheckbox, BaseChip_default as BaseChip, BaseCombobox_default as BaseCombobox, BaseDatePicker_default as BaseDatePicker, BaseInput_default as BaseInput, BaseKbd_default as BaseKbd, BaseLink_default as BaseLink, BaseListbox_default as BaseListbox, BaseMenu_default as BaseMenu, BasePopconfirm_default as BasePopconfirm, BasePopover_default as BasePopover, BaseRadioGroup_default as BaseRadioGroup, BaseRating_default as BaseRating, BaseSelect_default as BaseSelect, BaseSeparator_default as BaseSeparator, BaseSheet_default as BaseSheet, BaseSkeleton_default as BaseSkeleton, BaseSlider_default as BaseSlider, BaseSpinner_default as BaseSpinner, BaseStepper_default as BaseStepper, BaseSwitch_default as BaseSwitch, BaseTable_default as BaseTable, BaseTextarea_default as BaseTextarea, BaseTimeline_default as BaseTimeline, CircularProgress_default as CircularProgress, CodeBlock_default as CodeBlock, ColorPicker_default as ColorPicker, CopyButton_default as CopyButton, DescriptionList_default as DescriptionList, DonutChart_default as DonutChart, EmptyState_default as EmptyState, ErrorBoundary_default as ErrorBoundary, ErrorSummary_default as ErrorSummary, FileDrop_default as FileDrop, FormField_default as FormField, GoogleButton_default as GoogleButton, LocaleLinks_default as LocaleLinks, MATERIALS, NumberInput_default as NumberInput, PALETTES, PageContainer_default as PageContainer, PageHeader_default as PageHeader, PasswordInput_default as PasswordInput, PinInput_default as PinInput, PriceCard_default as PriceCard, ProgressBar_default as ProgressBar, SHEET_ROOT_ID, ScrollArea_default as ScrollArea, SectionHeading_default as SectionHeading, SegmentedControl_default as SegmentedControl, SettingsGroup_default as SettingsGroup, SettingsRow_default as SettingsRow, SkeletonList_default as SkeletonList, SliderField_default as SliderField, StatCard_default as StatCard, TabBar_default as TabBar, TagsInput_default as TagsInput, TimePicker_default as TimePicker, ToastHost_default as ToastHost, ToggleGroup_default as ToggleGroup, ToneDot_default as ToneDot, VERSION, VirtualList_default as VirtualList, addDays, announce, applyMaterial, applyPalette, applyTheme, createI18nRuntime, downloadJson, eachDayOfYear, elementDirection, ensureSheetRoot, formatDate, formatNumber, fromDateKey, horizontalStep, isApplePortable, isInstalled, isMaterial, isPaletteName, isThemePreference, lastNDays, leadingBlanks, needsIosInstall, readStoredTheme, registerErrorMapper, relativeDayLabel, safeRedirect, setFormatLocale, setMaterialStorageKey, setPaletteStorageKey, setThemeStorageKey, startOfWeek, tapFeedback, textDirection, toAppError, toDateKey, toRedirectPath, todayKey, useAnnounce, useDebouncedCallback, useDragScroll, useMaterial, useMediaQuery, useOnline, usePalette, useTheme, useToast, useToday, useVisualViewport };
|
|
5110
5131
|
|