@ya-accelerators/nextjs-framework 0.0.143 → 0.0.145
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/i18n/index.d.ts +1 -3
- package/dist/i18n/index.js +1 -36
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/normalize-messages.d.ts +5 -0
- package/dist/i18n/normalize-messages.js +37 -0
- package/dist/i18n/normalize-messages.js.map +1 -0
- package/dist/i18n/strings/ja-JP.json +4 -2
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +2 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/licenses/index.d.ts +1 -0
- package/dist/lib/licenses/index.js +2 -0
- package/dist/lib/licenses/index.js.map +1 -0
- package/dist/lib/licenses/page.d.ts +12 -0
- package/dist/lib/licenses/page.jsx +105 -0
- package/dist/lib/licenses/page.jsx.map +1 -0
- package/dist/styles/tailwind.config.d.ts +24 -5
- package/dist/styles/tailwind.config.js +27 -7
- package/dist/styles/tailwind.config.js.map +1 -1
- package/dist/styles/tailwind.config.ts +28 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/component/index.d.ts +1 -1
- package/dist/ui/component/loading/index.d.ts +2 -1
- package/dist/ui/component/loading/index.jsx +4 -4
- package/dist/ui/component/loading/index.jsx.map +1 -1
- package/dist/ui/component/skeleton/index.jsx +1 -1
- package/dist/ui/composite/avatar/index.jsx +1 -1
- package/dist/ui/composite/dropdown/index.jsx +1 -1
- package/dist/ui/composite/dropdown/index.jsx.map +1 -1
- package/dist/ui/composite/form/index.d.ts +3 -2
- package/dist/ui/composite/form/index.jsx +5 -4
- package/dist/ui/composite/form/index.jsx.map +1 -1
- package/dist/ui/composite/index.d.ts +7 -6
- package/dist/ui/composite/input/attachment/index.d.ts +1 -1
- package/dist/ui/composite/input/attachment/index.jsx +5 -5
- package/dist/ui/composite/input/attachment/index.jsx.map +1 -1
- package/dist/ui/composite/input/datePicker/index.jsx +62 -29
- package/dist/ui/composite/input/datePicker/index.jsx.map +1 -1
- package/dist/ui/composite/input/datePicker/locales.d.ts +1 -0
- package/dist/ui/composite/input/datePicker/locales.js +98 -0
- package/dist/ui/composite/input/datePicker/locales.js.map +1 -0
- package/dist/ui/composite/input/dateRange/index.jsx +19 -6
- package/dist/ui/composite/input/dateRange/index.jsx.map +1 -1
- package/dist/ui/composite/input/dateTimePicker/index.jsx +26 -34
- package/dist/ui/composite/input/dateTimePicker/index.jsx.map +1 -1
- package/dist/ui/composite/input/dateTimeRange/index.jsx +18 -16
- package/dist/ui/composite/input/dateTimeRange/index.jsx.map +1 -1
- package/dist/ui/composite/input/file/index.jsx +18 -9
- package/dist/ui/composite/input/file/index.jsx.map +1 -1
- package/dist/ui/composite/input/index.d.ts +3 -2
- package/dist/ui/composite/input/search/index.jsx +3 -1
- package/dist/ui/composite/input/search/index.jsx.map +1 -1
- package/dist/ui/composite/input/select/Option/index.d.ts +1 -1
- package/dist/ui/composite/input/select/Option/index.jsx +6 -10
- package/dist/ui/composite/input/select/Option/index.jsx.map +1 -1
- package/dist/ui/composite/input/select/SelectContainer/index.jsx +37 -33
- package/dist/ui/composite/input/select/SelectContainer/index.jsx.map +1 -1
- package/dist/ui/composite/input/select/SingleValue/index.d.ts +1 -1
- package/dist/ui/composite/input/select/SingleValue/index.jsx +2 -3
- package/dist/ui/composite/input/select/SingleValue/index.jsx.map +1 -1
- package/dist/ui/composite/input/select/index.d.ts +5 -4
- package/dist/ui/composite/input/select/index.jsx +2 -2
- package/dist/ui/composite/input/select/index.jsx.map +1 -1
- package/dist/ui/composite/input/select/types.d.ts +2 -0
- package/dist/ui/composite/input/select/types.js +9 -0
- package/dist/ui/composite/input/select/types.js.map +1 -1
- package/dist/ui/composite/input/switch/index.jsx +2 -2
- package/dist/ui/composite/input/switch/index.jsx.map +1 -1
- package/dist/ui/composite/input/text/index.jsx +7 -3
- package/dist/ui/composite/input/text/index.jsx.map +1 -1
- package/dist/ui/composite/input/timeRange/index.jsx +1 -1
- package/dist/ui/composite/object/index.d.ts +1 -1
- package/dist/ui/composite/object/index.jsx +1 -1
- package/dist/ui/composite/object/index.jsx.map +1 -1
- package/dist/ui/composite/recordPanel/index.jsx +6 -5
- package/dist/ui/composite/recordPanel/index.jsx.map +1 -1
- package/dist/ui/composite/stepper/index.jsx +10 -6
- package/dist/ui/composite/stepper/index.jsx.map +1 -1
- package/dist/ui/composite/table/index.d.ts +1 -2
- package/dist/ui/composite/table/index.jsx +56 -41
- package/dist/ui/composite/table/index.jsx.map +1 -1
- package/dist/ui/functional/oauthSignIn/index.jsx +1 -1
- package/dist/ui/layout/app/component.jsx +22 -37
- package/dist/ui/layout/app/component.jsx.map +1 -1
- package/dist/ui/layout/app/index.d.ts +4 -4
- package/dist/ui/layout/app/index.jsx +9 -9
- package/dist/ui/layout/app/index.jsx.map +1 -1
- package/dist/ui/layout/drawer/index.d.ts +1 -1
- package/dist/ui/layout/drawer/index.jsx +2 -2
- package/dist/ui/layout/drawer/index.jsx.map +1 -1
- package/dist/ui/layout/index.d.ts +5 -5
- package/dist/ui/layout/root/index.d.ts +1 -1
- package/dist/ui/layout/root/index.jsx +1 -4
- package/dist/ui/layout/root/index.jsx.map +1 -1
- package/dist/ui/theme/border/index.js +106 -21
- package/dist/ui/theme/border/index.js.map +1 -1
- package/dist/ui/theme/rounded/index.d.ts +0 -1
- package/dist/ui/theme/rounded/index.js +0 -2
- package/dist/ui/theme/rounded/index.js.map +1 -1
- package/dist/util/date/zoned.d.ts +2 -0
- package/dist/util/date/zoned.js +28 -0
- package/dist/util/date/zoned.js.map +1 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/theme/rounded/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,IAAI,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/theme/rounded/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,IAAI,EAAE,MAAM;CACJ,CAAA;AAEV,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,OAAiB,EAAE,EAAE,CAAC;IACxD,OAAO,KAAK,OAAO,CAAC,CAAC,IAAI,eAAe;IACxC,OAAO,KAAK,OAAO,CAAC,CAAC,IAAI,gBAAgB;IACzC,OAAO,KAAK,OAAO,CAAC,CAAC,IAAI,eAAe;IACxC,OAAO,KAAK,OAAO,CAAC,IAAI,IAAI,cAAc;CAC3C,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const wallClockAsUtc = (instant, timeZone) => {
|
|
2
|
+
const parts = new Intl.DateTimeFormat('en-US', {
|
|
3
|
+
timeZone,
|
|
4
|
+
hourCycle: 'h23',
|
|
5
|
+
year: 'numeric',
|
|
6
|
+
month: 'numeric',
|
|
7
|
+
day: 'numeric',
|
|
8
|
+
hour: 'numeric',
|
|
9
|
+
minute: 'numeric',
|
|
10
|
+
second: 'numeric',
|
|
11
|
+
}).formatToParts(instant);
|
|
12
|
+
const get = (type) => Number(parts.find((p) => p.type === type)?.value);
|
|
13
|
+
const ret = new Date(0);
|
|
14
|
+
ret.setUTCFullYear(get('year'), get('month') - 1, get('day'));
|
|
15
|
+
ret.setUTCHours(get('hour'), get('minute'), get('second'), instant.getUTCMilliseconds());
|
|
16
|
+
return ret;
|
|
17
|
+
};
|
|
18
|
+
const offsetAt = (instant, timeZone) => wallClockAsUtc(new Date(instant), timeZone).getTime() - instant;
|
|
19
|
+
const DAY_MS = 24 * 60 * 60 * 1000;
|
|
20
|
+
// A wall clock in a DST overlap resolves to the earlier instant, and one in a DST gap is read with the
|
|
21
|
+
// offset in force before the gap, which lands after it (Temporal's `compatible` disambiguation).
|
|
22
|
+
export const instantOfWallClockAsUtc = (wallClock, timeZone) => {
|
|
23
|
+
const utc = wallClock.getTime();
|
|
24
|
+
const before = utc - offsetAt(utc - DAY_MS, timeZone);
|
|
25
|
+
const matches = [before, utc - offsetAt(utc + DAY_MS, timeZone)].filter((candidate) => wallClockAsUtc(new Date(candidate), timeZone).getTime() === utc);
|
|
26
|
+
return new Date(matches.length > 0 ? Math.min(...matches) : before);
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=zoned.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zoned.js","sourceRoot":"","sources":["../../../../src/util/date/zoned.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAa,EAAE,QAAiB,EAAE,EAAE;IACjE,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE;QAC7C,QAAQ;QACR,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,GAAG,EAAE,SAAS;QACd,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;IACzB,MAAM,GAAG,GAAG,CAAC,IAAkC,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,KAAK,CAAC,CAAA;IACrG,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,CAAA;IACvB,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,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"name": "@ya-accelerators/nextjs-framework",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.145",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "YA Technologies OÜ",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"@mui/material": "^9.4.0",
|
|
90
90
|
"@mui/material-nextjs": "^9.4.0",
|
|
91
91
|
"@svgr/webpack": "^8.1.0",
|
|
92
|
-
"@tanstack/react-table": "^9.2.
|
|
92
|
+
"@tanstack/react-table": "^9.2.6",
|
|
93
93
|
"date-fns": "^4.4.0",
|
|
94
|
-
"framer-motion": "^
|
|
94
|
+
"framer-motion": "^14.0.0",
|
|
95
95
|
"next-client-cookies": "^2.1.2",
|
|
96
96
|
"nextjs-toploader": "^3.9.17",
|
|
97
97
|
"parse-nested-form-data": "^1.0.1",
|