@elliemae/ds-form-date-time-picker 3.53.0-next.2 → 3.53.0-next.4

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.
@@ -55,7 +55,9 @@ const StyledCalendarWithTimeWheelWrapper = (0, import_ds_system.styled)("div", {
55
55
  display: grid;
56
56
  grid-template-columns: 260px 192px;
57
57
  grid-template-rows: 1fr;
58
- column-gap: 0;
58
+ // this gap and background color simulate the border separator between the calendar and time wheel
59
+ column-gap: 1px;
60
+ background-color: ${({ theme }) => theme.colors.neutral["200"]};
59
61
  `;
60
62
  const StyledCalendar = (0, import_ds_system.styled)(import_CalendarContent.CalendarContent)`
61
63
  box-shadow: none;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/parts/Pickers/CalendarWithTimeWheel/Styleds.tsx", "../../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { styled } from '@elliemae/ds-system';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { CalendarContent } from '../Calendar/CalendarContent.js';\nimport {\n DSControlledDateTimePickerName,\n DSControlledDateTimePickerSlots,\n} from '../../../ControlledDateTimePickerDefinitions.js';\n\nexport const StyledIconTriggerButton = styled(DSButtonV2, {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.PICKER_ICONS.CALENDAR_TIMEWHEEL,\n})`\n color: ${({ theme }) => theme.colors.brand['800']};\n width: 2rem;\n height: 2rem;\n`;\n\nexport const StyledCalendarWithTimeWheelWrapper = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.CONTROLLER_COMPONENT.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n background: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n display: grid;\n grid-template-columns: 260px 192px;\n grid-template-rows: 1fr;\n column-gap: 0;\n`;\n\nexport const StyledCalendar = styled(CalendarContent)`\n box-shadow: none;\n`;\n\nexport const CalendarWithTimeWheelFooterMessage = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.FOOTERS.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n border-top: solid 1px ${({ theme }) => theme.colors.neutral[300]};\n padding: ${({ theme }) => theme.space.xxs2};\n color: ${({ theme }) => theme.colors.danger[900]};\n font-size: ${({ theme }) => theme.fontSizes.microText[200]};\n text-align: right;\n grid-column: 1/3;\n background-color: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,0BAA2B;AAC3B,6BAAgC;AAChC,iDAGO;AAEA,MAAM,8BAA0B,yBAAO,gCAAY;AAAA,EACxD,MAAM;AAAA,EACN,MAAM,2EAAgC,aAAa;AACrD,CAAC;AAAA,WACU,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,MAAM,KAAK,CAAC;AAAA;AAAA;AAAA;AAK5C,MAAM,yCAAqC,yBAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,2EAAgC,qBAAqB;AAC7D,CAAC;AAAA,gBACe,CAAC,EAAE,OAAO,eAAe,MACrC,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAOvE,MAAM,qBAAiB,yBAAO,sCAAe;AAAA;AAAA;AAI7C,MAAM,yCAAqC,yBAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,2EAAgC,QAAQ;AAChD,CAAC;AAAA,0BACyB,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC;AAAA,aACrD,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,IAAI;AAAA,WACjC,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,OAAO,GAAG,CAAC;AAAA,eACnC,CAAC,EAAE,MAAM,MAAM,MAAM,UAAU,UAAU,GAAG,CAAC;AAAA;AAAA;AAAA,sBAGtC,CAAC,EAAE,OAAO,eAAe,MAC3C,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;",
4
+ "sourcesContent": ["import { styled } from '@elliemae/ds-system';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { CalendarContent } from '../Calendar/CalendarContent.js';\nimport {\n DSControlledDateTimePickerName,\n DSControlledDateTimePickerSlots,\n} from '../../../ControlledDateTimePickerDefinitions.js';\n\nexport const StyledIconTriggerButton = styled(DSButtonV2, {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.PICKER_ICONS.CALENDAR_TIMEWHEEL,\n})`\n color: ${({ theme }) => theme.colors.brand['800']};\n width: 2rem;\n height: 2rem;\n`;\n\nexport const StyledCalendarWithTimeWheelWrapper = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.CONTROLLER_COMPONENT.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n background: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n display: grid;\n grid-template-columns: 260px 192px;\n grid-template-rows: 1fr;\n // this gap and background color simulate the border separator between the calendar and time wheel\n column-gap: 1px;\n background-color: ${({ theme }) => theme.colors.neutral['200']};\n`;\n\nexport const StyledCalendar = styled(CalendarContent)`\n box-shadow: none;\n`;\n\nexport const CalendarWithTimeWheelFooterMessage = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.FOOTERS.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n border-top: solid 1px ${({ theme }) => theme.colors.neutral[300]};\n padding: ${({ theme }) => theme.space.xxs2};\n color: ${({ theme }) => theme.colors.danger[900]};\n font-size: ${({ theme }) => theme.fontSizes.microText[200]};\n text-align: right;\n grid-column: 1/3;\n background-color: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,0BAA2B;AAC3B,6BAAgC;AAChC,iDAGO;AAEA,MAAM,8BAA0B,yBAAO,gCAAY;AAAA,EACxD,MAAM;AAAA,EACN,MAAM,2EAAgC,aAAa;AACrD,CAAC;AAAA,WACU,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,MAAM,KAAK,CAAC;AAAA;AAAA;AAAA;AAK5C,MAAM,yCAAqC,yBAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,2EAAgC,qBAAqB;AAC7D,CAAC;AAAA,gBACe,CAAC,EAAE,OAAO,eAAe,MACrC,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAMxD,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAGzD,MAAM,qBAAiB,yBAAO,sCAAe;AAAA;AAAA;AAI7C,MAAM,yCAAqC,yBAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,2EAAgC,QAAQ;AAChD,CAAC;AAAA,0BACyB,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC;AAAA,aACrD,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,IAAI;AAAA,WACjC,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,OAAO,GAAG,CAAC;AAAA,eACnC,CAAC,EAAE,MAAM,MAAM,MAAM,UAAU,UAAU,GAAG,CAAC;AAAA;AAAA;AAAA,sBAGtC,CAAC,EAAE,OAAO,eAAe,MAC3C,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;",
6
6
  "names": []
7
7
  }
@@ -22,7 +22,9 @@ const StyledCalendarWithTimeWheelWrapper = styled("div", {
22
22
  display: grid;
23
23
  grid-template-columns: 260px 192px;
24
24
  grid-template-rows: 1fr;
25
- column-gap: 0;
25
+ // this gap and background color simulate the border separator between the calendar and time wheel
26
+ column-gap: 1px;
27
+ background-color: ${({ theme }) => theme.colors.neutral["200"]};
26
28
  `;
27
29
  const StyledCalendar = styled(CalendarContent)`
28
30
  box-shadow: none;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../../scripts/build/transpile/react-shim.js", "../../../../../src/parts/Pickers/CalendarWithTimeWheel/Styleds.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled } from '@elliemae/ds-system';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { CalendarContent } from '../Calendar/CalendarContent.js';\nimport {\n DSControlledDateTimePickerName,\n DSControlledDateTimePickerSlots,\n} from '../../../ControlledDateTimePickerDefinitions.js';\n\nexport const StyledIconTriggerButton = styled(DSButtonV2, {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.PICKER_ICONS.CALENDAR_TIMEWHEEL,\n})`\n color: ${({ theme }) => theme.colors.brand['800']};\n width: 2rem;\n height: 2rem;\n`;\n\nexport const StyledCalendarWithTimeWheelWrapper = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.CONTROLLER_COMPONENT.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n background: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n display: grid;\n grid-template-columns: 260px 192px;\n grid-template-rows: 1fr;\n column-gap: 0;\n`;\n\nexport const StyledCalendar = styled(CalendarContent)`\n box-shadow: none;\n`;\n\nexport const CalendarWithTimeWheelFooterMessage = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.FOOTERS.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n border-top: solid 1px ${({ theme }) => theme.colors.neutral[300]};\n padding: ${({ theme }) => theme.space.xxs2};\n color: ${({ theme }) => theme.colors.danger[900]};\n font-size: ${({ theme }) => theme.fontSizes.microText[200]};\n text-align: right;\n grid-column: 1/3;\n background-color: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n`;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,kBAAkB;AAC3B,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEA,MAAM,0BAA0B,OAAO,YAAY;AAAA,EACxD,MAAM;AAAA,EACN,MAAM,gCAAgC,aAAa;AACrD,CAAC;AAAA,WACU,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,MAAM,KAAK,CAAC;AAAA;AAAA;AAAA;AAK5C,MAAM,qCAAqC,OAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,gCAAgC,qBAAqB;AAC7D,CAAC;AAAA,gBACe,CAAC,EAAE,OAAO,eAAe,MACrC,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAOvE,MAAM,iBAAiB,OAAO,eAAe;AAAA;AAAA;AAI7C,MAAM,qCAAqC,OAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,gCAAgC,QAAQ;AAChD,CAAC;AAAA,0BACyB,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC;AAAA,aACrD,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,IAAI;AAAA,WACjC,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,OAAO,GAAG,CAAC;AAAA,eACnC,CAAC,EAAE,MAAM,MAAM,MAAM,UAAU,UAAU,GAAG,CAAC;AAAA;AAAA;AAAA,sBAGtC,CAAC,EAAE,OAAO,eAAe,MAC3C,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled } from '@elliemae/ds-system';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { CalendarContent } from '../Calendar/CalendarContent.js';\nimport {\n DSControlledDateTimePickerName,\n DSControlledDateTimePickerSlots,\n} from '../../../ControlledDateTimePickerDefinitions.js';\n\nexport const StyledIconTriggerButton = styled(DSButtonV2, {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.PICKER_ICONS.CALENDAR_TIMEWHEEL,\n})`\n color: ${({ theme }) => theme.colors.brand['800']};\n width: 2rem;\n height: 2rem;\n`;\n\nexport const StyledCalendarWithTimeWheelWrapper = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.CONTROLLER_COMPONENT.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n background: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n display: grid;\n grid-template-columns: 260px 192px;\n grid-template-rows: 1fr;\n // this gap and background color simulate the border separator between the calendar and time wheel\n column-gap: 1px;\n background-color: ${({ theme }) => theme.colors.neutral['200']};\n`;\n\nexport const StyledCalendar = styled(CalendarContent)`\n box-shadow: none;\n`;\n\nexport const CalendarWithTimeWheelFooterMessage = styled('div', {\n name: DSControlledDateTimePickerName,\n slot: DSControlledDateTimePickerSlots.FOOTERS.CALENDAR_TIMEWHEEL,\n})<{ readOnlyStyles?: boolean }>`\n border-top: solid 1px ${({ theme }) => theme.colors.neutral[300]};\n padding: ${({ theme }) => theme.space.xxs2};\n color: ${({ theme }) => theme.colors.danger[900]};\n font-size: ${({ theme }) => theme.fontSizes.microText[200]};\n text-align: right;\n grid-column: 1/3;\n background-color: ${({ theme, readOnlyStyles }) =>\n readOnlyStyles ? theme.colors.neutral['050'] : theme.colors.neutral['000']};\n`;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,kBAAkB;AAC3B,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEA,MAAM,0BAA0B,OAAO,YAAY;AAAA,EACxD,MAAM;AAAA,EACN,MAAM,gCAAgC,aAAa;AACrD,CAAC;AAAA,WACU,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,MAAM,KAAK,CAAC;AAAA;AAAA;AAAA;AAK5C,MAAM,qCAAqC,OAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,gCAAgC,qBAAqB;AAC7D,CAAC;AAAA,gBACe,CAAC,EAAE,OAAO,eAAe,MACrC,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAMxD,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAGzD,MAAM,iBAAiB,OAAO,eAAe;AAAA;AAAA;AAI7C,MAAM,qCAAqC,OAAO,OAAO;AAAA,EAC9D,MAAM;AAAA,EACN,MAAM,gCAAgC,QAAQ;AAChD,CAAC;AAAA,0BACyB,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC;AAAA,aACrD,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,IAAI;AAAA,WACjC,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,OAAO,GAAG,CAAC;AAAA,eACnC,CAAC,EAAE,MAAM,MAAM,MAAM,UAAU,UAAU,GAAG,CAAC;AAAA;AAAA;AAAA,sBAGtC,CAAC,EAAE,OAAO,eAAe,MAC3C,iBAAiB,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-form-date-time-picker",
3
- "version": "3.53.0-next.2",
3
+ "version": "3.53.0-next.4",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Controlled Form Date Time Picker",
6
6
  "files": [
@@ -36,14 +36,14 @@
36
36
  "indent": 4
37
37
  },
38
38
  "dependencies": {
39
- "@elliemae/ds-accessibility": "3.53.0-next.2",
40
- "@elliemae/ds-button-v2": "3.53.0-next.2",
41
- "@elliemae/ds-icons": "3.53.0-next.2",
42
- "@elliemae/ds-grid": "3.53.0-next.2",
43
- "@elliemae/ds-popperjs": "3.53.0-next.2",
44
- "@elliemae/ds-system": "3.53.0-next.2",
45
- "@elliemae/ds-props-helpers": "3.53.0-next.2",
46
- "@elliemae/ds-typescript-helpers": "3.53.0-next.2"
39
+ "@elliemae/ds-accessibility": "3.53.0-next.4",
40
+ "@elliemae/ds-button-v2": "3.53.0-next.4",
41
+ "@elliemae/ds-grid": "3.53.0-next.4",
42
+ "@elliemae/ds-popperjs": "3.53.0-next.4",
43
+ "@elliemae/ds-icons": "3.53.0-next.4",
44
+ "@elliemae/ds-system": "3.53.0-next.4",
45
+ "@elliemae/ds-props-helpers": "3.53.0-next.4",
46
+ "@elliemae/ds-typescript-helpers": "3.53.0-next.4"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@elliemae/pui-cli": "9.0.0-next.63",
@@ -51,7 +51,7 @@
51
51
  "jest": "~29.7.0",
52
52
  "styled-components": "~5.3.9",
53
53
  "styled-system": "^5.1.5",
54
- "@elliemae/ds-monorepo-devops": "3.53.0-next.2"
54
+ "@elliemae/ds-monorepo-devops": "3.53.0-next.4"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@elliemae/pui-theme": "~2.13.0",
@@ -1,237 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var customProps_exports = {};
30
- __export(customProps_exports, {
31
- customPropsForFullDatePickerWhenClosed: () => customPropsForFullDatePickerWhenClosed,
32
- customPropsForFullDatePickerWhenOpen: () => customPropsForFullDatePickerWhenOpen,
33
- customPropsForFullDateTimePickerWhenClosed: () => customPropsForFullDateTimePickerWhenClosed,
34
- customPropsForFullDateTimePickerWhenOpen: () => customPropsForFullDateTimePickerWhenOpen,
35
- customPropsForFullTimePickerWhenClosed: () => customPropsForFullTimePickerWhenClosed,
36
- customPropsForFullTimePickerWhenOpen: () => customPropsForFullTimePickerWhenOpen
37
- });
38
- module.exports = __toCommonJS(customProps_exports);
39
- var React = __toESM(require("react"));
40
- var import__ = require("../../index");
41
- const customPropsShareds = {
42
- [import__.ControlledDateTimePickerDatatestid.CONTAINER]: {
43
- "data-foo": "foo-picker-container",
44
- "aria-label": "custom label for picker-container",
45
- ignoredProp: "props not starting with data- or aria- are not exposed"
46
- }
47
- };
48
- const customPropsDateInputs = {
49
- [import__.ControlledDateTimePickerDatatestid.DATE_INPUTS.MONTH]: {
50
- "data-foo": "foo-month-input",
51
- "aria-label": "custom label for month-input",
52
- ignoredProp: "props not starting with data- or aria- are not exposed"
53
- },
54
- [import__.ControlledDateTimePickerDatatestid.DATE_INPUTS.DAY]: {
55
- "data-foo": "foo-day-input",
56
- "aria-label": "custom label for day-input",
57
- ignoredProp: "props not starting with data- or aria- are not exposed"
58
- },
59
- [import__.ControlledDateTimePickerDatatestid.DATE_INPUTS.YEAR]: {
60
- "data-foo": "foo-year-input",
61
- "aria-label": "custom label for year-input",
62
- ignoredProp: "props not starting with data- or aria- are not exposed"
63
- }
64
- };
65
- const customPropsTimeInputs = {
66
- [import__.ControlledDateTimePickerDatatestid.TIME_INPUTS.HOUR]: {
67
- "data-foo": "foo-hour-input",
68
- "aria-label": "custom label for hour-input",
69
- ignoredProp: "props not starting with data- or aria- are not exposed"
70
- },
71
- [import__.ControlledDateTimePickerDatatestid.TIME_INPUTS.MINUTE]: {
72
- "data-foo": "foo-minute-input",
73
- "aria-label": "custom label for minute-input",
74
- ignoredProp: "props not starting with data- or aria- are not exposed"
75
- },
76
- [import__.ControlledDateTimePickerDatatestid.TIME_INPUTS.MERIDIEM]: {
77
- "data-foo": "foo-meridiem-input",
78
- "aria-label": "custom label for meridiem-input",
79
- ignoredProp: "props not starting with data- or aria- are not exposed"
80
- }
81
- };
82
- const customPropsCalendarDatePart = {
83
- [import__.ControlledDateTimePickerDatatestid.CALENDAR.HEADER_LABEL]: {
84
- "data-foo": "foo-calendar-header-label",
85
- "aria-label": "custom label for calendar-header-label",
86
- ignoredProp: "props not starting with data- or aria- are not exposed"
87
- },
88
- [import__.ControlledDateTimePickerDatatestid.CALENDAR.PREV_YEAR]: {
89
- "data-foo": "foo-calendar-prev-year",
90
- "aria-label": "custom label for calendar-prev-year",
91
- ignoredProp: "props not starting with data- or aria- are not exposed"
92
- },
93
- [import__.ControlledDateTimePickerDatatestid.CALENDAR.PREV_MONTH]: {
94
- "data-foo": "foo-calendar-prev-month",
95
- "aria-label": "custom label for calendar-prev-month",
96
- ignoredProp: "props not starting with data- or aria- are not exposed"
97
- },
98
- [import__.ControlledDateTimePickerDatatestid.CALENDAR.DAY]: {
99
- "data-foo": "foo-calendar-day",
100
- "aria-label": "custom label for calendar-day",
101
- ignoredProp: "props not starting with data- or aria- are not exposed"
102
- },
103
- [import__.ControlledDateTimePickerDatatestid.CALENDAR.NEXT_MONTH]: {
104
- "data-foo": "foo-calendar-next-month",
105
- "aria-label": "custom label for calendar-next-month",
106
- ignoredProp: "props not starting with data- or aria- are not exposed"
107
- },
108
- [import__.ControlledDateTimePickerDatatestid.CALENDAR.NEXT_YEAR]: {
109
- "data-foo": "foo-calendar-next-year",
110
- "aria-label": "custom label for calendar-next-year",
111
- ignoredProp: "props not starting with data- or aria- are not exposed"
112
- }
113
- };
114
- const customPropsCalendarTimePart = {
115
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.HEADER_LABEL]: {
116
- "data-foo": "foo-timewheel-header-label",
117
- "aria-label": "custom label for timewheel-header-label",
118
- ignoredProp: "props not starting with data- or aria- are not exposed"
119
- },
120
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_HOUR]: {
121
- "data-foo": "foo-timewheel-prev-hour",
122
- "aria-label": "custom label for timewheel-prev-hour",
123
- ignoredProp: "props not starting with data- or aria- are not exposed"
124
- },
125
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.HOUR]: {
126
- "data-foo": "foo-timewheel-hour",
127
- "aria-label": "custom label for timewheel-hour",
128
- ignoredProp: "props not starting with data- or aria- are not exposed"
129
- },
130
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_HOUR]: {
131
- "data-foo": "foo-timewheel-current-hour",
132
- "aria-label": "custom label for timewheel-current-hour",
133
- ignoredProp: "props not starting with data- or aria- are not exposed"
134
- },
135
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_HOUR]: {
136
- "data-foo": "foo-timewheel-next-hour",
137
- "aria-label": "custom label for timewheel-next-hour",
138
- ignoredProp: "props not starting with data- or aria- are not exposed"
139
- },
140
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MINUTE]: {
141
- "data-foo": "foo-timewheel-prev-minute",
142
- "aria-label": "custom label for timewheel-prev-minute",
143
- ignoredProp: "props not starting with data- or aria- are not exposed"
144
- },
145
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.MINUTE]: {
146
- "data-foo": "foo-timewheel-minute",
147
- "aria-label": "custom label for timewheel-minute",
148
- ignoredProp: "props not starting with data- or aria- are not exposed"
149
- },
150
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MINUTE]: {
151
- "data-foo": "foo-timewheel-current-minute",
152
- "aria-label": "custom label for timewheel-current-minute",
153
- ignoredProp: "props not starting with data- or aria- are not exposed"
154
- },
155
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MINUTE]: {
156
- "data-foo": "foo-timewheel-next-minute",
157
- "aria-label": "custom label for timewheel-next-minute",
158
- ignoredProp: "props not starting with data- or aria- are not exposed"
159
- },
160
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MERIDIEM]: {
161
- "data-foo": "foo-timewheel-prev-meridiem",
162
- "aria-label": "custom label for timewheel-prev-meridiem",
163
- ignoredProp: "props not starting with data- or aria- are not exposed"
164
- },
165
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.MERIDIEM]: {
166
- "data-foo": "foo-timewheel-meridiem",
167
- "aria-label": "custom label for timewheel-meridiem",
168
- ignoredProp: "props not starting with data- or aria- are not exposed"
169
- },
170
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MERIDIEM]: {
171
- "data-foo": "foo-timewheel-current-meridiem",
172
- "aria-label": "custom label for timewheel-current-meridiem",
173
- ignoredProp: "props not starting with data- or aria- are not exposed"
174
- },
175
- [import__.ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MERIDIEM]: {
176
- "data-foo": "foo-timewheel-next-meridiem",
177
- "aria-label": "custom label for timewheel-next-meridiem",
178
- ignoredProp: "props not starting with data- or aria- are not exposed"
179
- }
180
- };
181
- const customPropsForFullDateTimePickerWhenClosed = {
182
- ...customPropsShareds,
183
- ...customPropsDateInputs,
184
- ...customPropsTimeInputs,
185
- [import__.ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR_TIMEWHEEL]: {
186
- "data-foo": "foo-calendar-timewheel-icon",
187
- "aria-label": "custom label for calendar-timewheel-icon",
188
- ignoredProp: "props not starting with data- or aria- are not exposed"
189
- }
190
- };
191
- const customPropsForFullDateTimePickerWhenOpen = {
192
- ...customPropsForFullDateTimePickerWhenClosed,
193
- [import__.ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR_TIMEWHEEL]: {
194
- "data-foo": "foo-contextual-menu-calendar-timewheel",
195
- "aria-label": "custom label for contextual-menu-calendar-timewheel",
196
- ignoredProp: "props not starting with data- or aria- are not exposed"
197
- },
198
- ...customPropsCalendarDatePart,
199
- ...customPropsCalendarTimePart
200
- };
201
- const customPropsForFullDatePickerWhenClosed = {
202
- ...customPropsShareds,
203
- ...customPropsDateInputs,
204
- [import__.ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR]: {
205
- "data-foo": "foo-calendar-icon",
206
- "aria-label": "custom label for calendar-icon",
207
- ignoredProp: "props not starting with data- or aria- are not exposed"
208
- }
209
- };
210
- const customPropsForFullDatePickerWhenOpen = {
211
- ...customPropsForFullDatePickerWhenClosed,
212
- [import__.ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR]: {
213
- "data-foo": "foo-contextual-menu-calendar",
214
- "aria-label": "custom label for contextual-menu-calendar",
215
- ignoredProp: "props not starting with data- or aria- are not exposed"
216
- },
217
- ...customPropsCalendarDatePart
218
- };
219
- const customPropsForFullTimePickerWhenClosed = {
220
- ...customPropsShareds,
221
- ...customPropsTimeInputs,
222
- [import__.ControlledDateTimePickerDatatestid.PICKER_ICONS.TIMEWHEEL]: {
223
- "data-foo": "foo-timewheel-icon",
224
- "aria-label": "custom label for timewheel-icon",
225
- ignoredProp: "props not starting with data- or aria- are not exposed"
226
- }
227
- };
228
- const customPropsForFullTimePickerWhenOpen = {
229
- ...customPropsForFullTimePickerWhenClosed,
230
- [import__.ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.TIMEWHEEL]: {
231
- "data-foo": "foo-contextual-menu-timewheel",
232
- "aria-label": "custom label for contextual-menu-timewheel",
233
- ignoredProp: "props not starting with data- or aria- are not exposed"
234
- },
235
- ...customPropsCalendarTimePart
236
- };
237
- //# sourceMappingURL=customProps.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/tests/custom-props/customProps.js", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable max-lines */\n/* eslint-disable import/extensions */\nimport { ControlledDateTimePickerDatatestid } from '../../index';\nconst customPropsShareds = {\n [ControlledDateTimePickerDatatestid.CONTAINER]: {\n 'data-foo': 'foo-picker-container',\n 'aria-label': 'custom label for picker-container',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nconst customPropsDateInputs = {\n [ControlledDateTimePickerDatatestid.DATE_INPUTS.MONTH]: {\n 'data-foo': 'foo-month-input',\n 'aria-label': 'custom label for month-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.DATE_INPUTS.DAY]: {\n 'data-foo': 'foo-day-input',\n 'aria-label': 'custom label for day-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.DATE_INPUTS.YEAR]: {\n 'data-foo': 'foo-year-input',\n 'aria-label': 'custom label for year-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nconst customPropsTimeInputs = {\n [ControlledDateTimePickerDatatestid.TIME_INPUTS.HOUR]: {\n 'data-foo': 'foo-hour-input',\n 'aria-label': 'custom label for hour-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIME_INPUTS.MINUTE]: {\n 'data-foo': 'foo-minute-input',\n 'aria-label': 'custom label for minute-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIME_INPUTS.MERIDIEM]: {\n 'data-foo': 'foo-meridiem-input',\n 'aria-label': 'custom label for meridiem-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\n\nconst customPropsCalendarDatePart = {\n [ControlledDateTimePickerDatatestid.CALENDAR.HEADER_LABEL]: {\n 'data-foo': 'foo-calendar-header-label',\n 'aria-label': 'custom label for calendar-header-label',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.PREV_YEAR]: {\n 'data-foo': 'foo-calendar-prev-year',\n 'aria-label': 'custom label for calendar-prev-year',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.PREV_MONTH]: {\n 'data-foo': 'foo-calendar-prev-month',\n 'aria-label': 'custom label for calendar-prev-month',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.DAY]: {\n 'data-foo': 'foo-calendar-day',\n 'aria-label': 'custom label for calendar-day',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.NEXT_MONTH]: {\n 'data-foo': 'foo-calendar-next-month',\n 'aria-label': 'custom label for calendar-next-month',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.NEXT_YEAR]: {\n 'data-foo': 'foo-calendar-next-year',\n 'aria-label': 'custom label for calendar-next-year',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\n\nconst customPropsCalendarTimePart = {\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.HEADER_LABEL]: {\n 'data-foo': 'foo-timewheel-header-label',\n 'aria-label': 'custom label for timewheel-header-label',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_HOUR]: {\n 'data-foo': 'foo-timewheel-prev-hour',\n 'aria-label': 'custom label for timewheel-prev-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.HOUR]: {\n 'data-foo': 'foo-timewheel-hour',\n 'aria-label': 'custom label for timewheel-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_HOUR]: {\n 'data-foo': 'foo-timewheel-current-hour',\n 'aria-label': 'custom label for timewheel-current-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_HOUR]: {\n 'data-foo': 'foo-timewheel-next-hour',\n 'aria-label': 'custom label for timewheel-next-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MINUTE]: {\n 'data-foo': 'foo-timewheel-prev-minute',\n 'aria-label': 'custom label for timewheel-prev-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.MINUTE]: {\n 'data-foo': 'foo-timewheel-minute',\n 'aria-label': 'custom label for timewheel-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MINUTE]: {\n 'data-foo': 'foo-timewheel-current-minute',\n 'aria-label': 'custom label for timewheel-current-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MINUTE]: {\n 'data-foo': 'foo-timewheel-next-minute',\n 'aria-label': 'custom label for timewheel-next-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MERIDIEM]: {\n 'data-foo': 'foo-timewheel-prev-meridiem',\n 'aria-label': 'custom label for timewheel-prev-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.MERIDIEM]: {\n 'data-foo': 'foo-timewheel-meridiem',\n 'aria-label': 'custom label for timewheel-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MERIDIEM]: {\n 'data-foo': 'foo-timewheel-current-meridiem',\n 'aria-label': 'custom label for timewheel-current-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MERIDIEM]: {\n 'data-foo': 'foo-timewheel-next-meridiem',\n 'aria-label': 'custom label for timewheel-next-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\n// const customPropsCalendarDatePartSelections = {\n// [ControlledDateTimePickerDatatestid.CALENDAR.FOCUSED_DAY]: {\n// 'data-foo': 'foo-calendar-focused-day',\n// 'aria-label': 'custom label for calendar-focused-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.SELECTED_DAY]: {\n// 'data-foo': 'foo-calendar-selected-day',\n// 'aria-label': 'custom label for calendar-selected-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.SELECTED_FOCUSED_DAY]: {\n// 'data-foo': 'foo-calendar-selected-focused-day',\n// 'aria-label': 'custom label for calendar-selected-focused-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsCalendarDatePartRanges = {\n// [ControlledDateTimePickerDatatestid.CALENDAR.START_RANGE_DAY]: {\n// 'data-foo': 'foo-calendar-start-range-day',\n// 'aria-label': 'custom label for calendar-start-range-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.IN_RANGE_DAY]: {\n// 'data-foo': 'foo-calendar-in-range-day',\n// 'aria-label': 'custom label for calendar-in-range-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.END_RANGE_DAY]: {\n// 'data-foo': 'foo-calendar-end-range-day',\n// 'aria-label': 'custom label for calendar-end-range-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsPickersIcons = {\n// [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR]: {\n// 'data-foo': 'foo-calendar-icon',\n// 'aria-label': 'custom label for calendar-icon',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.PICKER_ICONS.TIMEWHEEL]: {\n// 'data-foo': 'foo-timewheel-icon',\n// 'aria-label': 'custom label for timewheel-icon',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsContextualMenu = {\n// [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR]: {\n// 'data-foo': 'foo-contextual-menu-calendar',\n// 'aria-label': 'custom label for contextual-menu-calendar',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.TIMEWHEEL]: {\n// 'data-foo': 'foo-contextual-menu-timewheel',\n// 'aria-label': 'custom label for contextual-menu-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsControllers = {\n// [ControlledDateTimePickerDatatestid.CONTROLLER_COMPONENT.CALENDAR]: {\n// 'data-foo': 'foo-controller-component-calendar',\n// 'aria-label': 'custom label for controller-component-calendar',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CONTROLLER_COMPONENT.TIMEWHEEL]: {\n// 'data-foo': 'foo-controller-component-timewheel',\n// 'aria-label': 'custom label for controller-component-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CONTROLLER_COMPONENT.CALENDAR_TIMEWHEEL]: {\n// 'data-foo': 'foo-controller-component-calendar-timewheel',\n// 'aria-label': 'custom label for controller-component-calendar-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsFooters = {\n// [ControlledDateTimePickerDatatestid.FOOTERS.CALENDAR]: {\n// 'data-foo': 'foo-footers-calendar',\n// 'aria-label': 'custom label for footers-calendar',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.FOOTERS.TIMEWHEEL]: {\n// 'data-foo': 'foo-footers-timewheel',\n// 'aria-label': 'custom label for footers-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.FOOTERS.CALENDAR_TIMEWHEEL]: {\n// 'data-foo': 'foo-footers-calendar-timewheel',\n// 'aria-label': 'custom label for footers-calendar-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n\nexport const customPropsForFullDateTimePickerWhenClosed = {\n ...customPropsShareds,\n ...customPropsDateInputs,\n ...customPropsTimeInputs,\n [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR_TIMEWHEEL]: {\n 'data-foo': 'foo-calendar-timewheel-icon',\n 'aria-label': 'custom label for calendar-timewheel-icon',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nexport const customPropsForFullDateTimePickerWhenOpen = {\n ...customPropsForFullDateTimePickerWhenClosed,\n [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR_TIMEWHEEL]: {\n 'data-foo': 'foo-contextual-menu-calendar-timewheel',\n 'aria-label': 'custom label for contextual-menu-calendar-timewheel',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n ...customPropsCalendarDatePart,\n ...customPropsCalendarTimePart,\n};\nexport const customPropsForFullDatePickerWhenClosed = {\n ...customPropsShareds,\n ...customPropsDateInputs,\n [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR]: {\n 'data-foo': 'foo-calendar-icon',\n 'aria-label': 'custom label for calendar-icon',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nexport const customPropsForFullDatePickerWhenOpen = {\n ...customPropsForFullDatePickerWhenClosed,\n [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR]: {\n 'data-foo': 'foo-contextual-menu-calendar',\n 'aria-label': 'custom label for contextual-menu-calendar',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n ...customPropsCalendarDatePart,\n};\nexport const customPropsForFullTimePickerWhenClosed = {\n ...customPropsShareds,\n ...customPropsTimeInputs,\n [ControlledDateTimePickerDatatestid.PICKER_ICONS.TIMEWHEEL]: {\n 'data-foo': 'foo-timewheel-icon',\n 'aria-label': 'custom label for timewheel-icon',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nexport const customPropsForFullTimePickerWhenOpen = {\n ...customPropsForFullTimePickerWhenClosed,\n [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.TIMEWHEEL]: {\n 'data-foo': 'foo-contextual-menu-timewheel',\n 'aria-label': 'custom label for contextual-menu-timewheel',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n ...customPropsCalendarTimePart,\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,eAAmD;AACnD,MAAM,qBAAqB;AAAA,EACzB,CAAC,4CAAmC,SAAS,GAAG;AAAA,IAC9C,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AACA,MAAM,wBAAwB;AAAA,EAC5B,CAAC,4CAAmC,YAAY,KAAK,GAAG;AAAA,IACtD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,CAAC,4CAAmC,YAAY,GAAG,GAAG;AAAA,IACpD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,CAAC,4CAAmC,YAAY,IAAI,GAAG;AAAA,IACrD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AACA,MAAM,wBAAwB;AAAA,EAC5B,CAAC,4CAAmC,YAAY,IAAI,GAAG;AAAA,IACrD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,CAAC,4CAAmC,YAAY,MAAM,GAAG;AAAA,IACvD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,CAAC,4CAAmC,YAAY,QAAQ,GAAG;AAAA,IACzD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AAEA,MAAM,8BAA8B;AAAA,EAClC,CAAC,4CAA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,GAAG;AAAA,EACH,GAAG;AAAA,EACH,CAAC,4CAAmC,aAAa,QAAQ,GAAG;AAAA,IAC1D,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AACO,MAAM,uCAAuC;AAAA,EAClD,GAAG;AAAA,EACH,CAAC,4CAAmC,gBAAgB,QAAQ,GAAG;AAAA,IAC7D,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,GAAG;AACL;AACO,MAAM,yCAAyC;AAAA,EACpD,GAAG;AAAA,EACH,GAAG;AAAA,EACH,CAAC,4CAAmC,aAAa,SAAS,GAAG;AAAA,IAC3D,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AACO,MAAM,uCAAuC;AAAA,EAClD,GAAG;AAAA,EACH,CAAC,4CAAmC,gBAAgB,SAAS,GAAG;AAAA,IAC9D,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,GAAG;AACL;",
6
- "names": []
7
- }
@@ -1,207 +0,0 @@
1
- import * as React from "react";
2
- import { ControlledDateTimePickerDatatestid } from "../../index";
3
- const customPropsShareds = {
4
- [ControlledDateTimePickerDatatestid.CONTAINER]: {
5
- "data-foo": "foo-picker-container",
6
- "aria-label": "custom label for picker-container",
7
- ignoredProp: "props not starting with data- or aria- are not exposed"
8
- }
9
- };
10
- const customPropsDateInputs = {
11
- [ControlledDateTimePickerDatatestid.DATE_INPUTS.MONTH]: {
12
- "data-foo": "foo-month-input",
13
- "aria-label": "custom label for month-input",
14
- ignoredProp: "props not starting with data- or aria- are not exposed"
15
- },
16
- [ControlledDateTimePickerDatatestid.DATE_INPUTS.DAY]: {
17
- "data-foo": "foo-day-input",
18
- "aria-label": "custom label for day-input",
19
- ignoredProp: "props not starting with data- or aria- are not exposed"
20
- },
21
- [ControlledDateTimePickerDatatestid.DATE_INPUTS.YEAR]: {
22
- "data-foo": "foo-year-input",
23
- "aria-label": "custom label for year-input",
24
- ignoredProp: "props not starting with data- or aria- are not exposed"
25
- }
26
- };
27
- const customPropsTimeInputs = {
28
- [ControlledDateTimePickerDatatestid.TIME_INPUTS.HOUR]: {
29
- "data-foo": "foo-hour-input",
30
- "aria-label": "custom label for hour-input",
31
- ignoredProp: "props not starting with data- or aria- are not exposed"
32
- },
33
- [ControlledDateTimePickerDatatestid.TIME_INPUTS.MINUTE]: {
34
- "data-foo": "foo-minute-input",
35
- "aria-label": "custom label for minute-input",
36
- ignoredProp: "props not starting with data- or aria- are not exposed"
37
- },
38
- [ControlledDateTimePickerDatatestid.TIME_INPUTS.MERIDIEM]: {
39
- "data-foo": "foo-meridiem-input",
40
- "aria-label": "custom label for meridiem-input",
41
- ignoredProp: "props not starting with data- or aria- are not exposed"
42
- }
43
- };
44
- const customPropsCalendarDatePart = {
45
- [ControlledDateTimePickerDatatestid.CALENDAR.HEADER_LABEL]: {
46
- "data-foo": "foo-calendar-header-label",
47
- "aria-label": "custom label for calendar-header-label",
48
- ignoredProp: "props not starting with data- or aria- are not exposed"
49
- },
50
- [ControlledDateTimePickerDatatestid.CALENDAR.PREV_YEAR]: {
51
- "data-foo": "foo-calendar-prev-year",
52
- "aria-label": "custom label for calendar-prev-year",
53
- ignoredProp: "props not starting with data- or aria- are not exposed"
54
- },
55
- [ControlledDateTimePickerDatatestid.CALENDAR.PREV_MONTH]: {
56
- "data-foo": "foo-calendar-prev-month",
57
- "aria-label": "custom label for calendar-prev-month",
58
- ignoredProp: "props not starting with data- or aria- are not exposed"
59
- },
60
- [ControlledDateTimePickerDatatestid.CALENDAR.DAY]: {
61
- "data-foo": "foo-calendar-day",
62
- "aria-label": "custom label for calendar-day",
63
- ignoredProp: "props not starting with data- or aria- are not exposed"
64
- },
65
- [ControlledDateTimePickerDatatestid.CALENDAR.NEXT_MONTH]: {
66
- "data-foo": "foo-calendar-next-month",
67
- "aria-label": "custom label for calendar-next-month",
68
- ignoredProp: "props not starting with data- or aria- are not exposed"
69
- },
70
- [ControlledDateTimePickerDatatestid.CALENDAR.NEXT_YEAR]: {
71
- "data-foo": "foo-calendar-next-year",
72
- "aria-label": "custom label for calendar-next-year",
73
- ignoredProp: "props not starting with data- or aria- are not exposed"
74
- }
75
- };
76
- const customPropsCalendarTimePart = {
77
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.HEADER_LABEL]: {
78
- "data-foo": "foo-timewheel-header-label",
79
- "aria-label": "custom label for timewheel-header-label",
80
- ignoredProp: "props not starting with data- or aria- are not exposed"
81
- },
82
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_HOUR]: {
83
- "data-foo": "foo-timewheel-prev-hour",
84
- "aria-label": "custom label for timewheel-prev-hour",
85
- ignoredProp: "props not starting with data- or aria- are not exposed"
86
- },
87
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.HOUR]: {
88
- "data-foo": "foo-timewheel-hour",
89
- "aria-label": "custom label for timewheel-hour",
90
- ignoredProp: "props not starting with data- or aria- are not exposed"
91
- },
92
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_HOUR]: {
93
- "data-foo": "foo-timewheel-current-hour",
94
- "aria-label": "custom label for timewheel-current-hour",
95
- ignoredProp: "props not starting with data- or aria- are not exposed"
96
- },
97
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_HOUR]: {
98
- "data-foo": "foo-timewheel-next-hour",
99
- "aria-label": "custom label for timewheel-next-hour",
100
- ignoredProp: "props not starting with data- or aria- are not exposed"
101
- },
102
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MINUTE]: {
103
- "data-foo": "foo-timewheel-prev-minute",
104
- "aria-label": "custom label for timewheel-prev-minute",
105
- ignoredProp: "props not starting with data- or aria- are not exposed"
106
- },
107
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.MINUTE]: {
108
- "data-foo": "foo-timewheel-minute",
109
- "aria-label": "custom label for timewheel-minute",
110
- ignoredProp: "props not starting with data- or aria- are not exposed"
111
- },
112
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MINUTE]: {
113
- "data-foo": "foo-timewheel-current-minute",
114
- "aria-label": "custom label for timewheel-current-minute",
115
- ignoredProp: "props not starting with data- or aria- are not exposed"
116
- },
117
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MINUTE]: {
118
- "data-foo": "foo-timewheel-next-minute",
119
- "aria-label": "custom label for timewheel-next-minute",
120
- ignoredProp: "props not starting with data- or aria- are not exposed"
121
- },
122
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MERIDIEM]: {
123
- "data-foo": "foo-timewheel-prev-meridiem",
124
- "aria-label": "custom label for timewheel-prev-meridiem",
125
- ignoredProp: "props not starting with data- or aria- are not exposed"
126
- },
127
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.MERIDIEM]: {
128
- "data-foo": "foo-timewheel-meridiem",
129
- "aria-label": "custom label for timewheel-meridiem",
130
- ignoredProp: "props not starting with data- or aria- are not exposed"
131
- },
132
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MERIDIEM]: {
133
- "data-foo": "foo-timewheel-current-meridiem",
134
- "aria-label": "custom label for timewheel-current-meridiem",
135
- ignoredProp: "props not starting with data- or aria- are not exposed"
136
- },
137
- [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MERIDIEM]: {
138
- "data-foo": "foo-timewheel-next-meridiem",
139
- "aria-label": "custom label for timewheel-next-meridiem",
140
- ignoredProp: "props not starting with data- or aria- are not exposed"
141
- }
142
- };
143
- const customPropsForFullDateTimePickerWhenClosed = {
144
- ...customPropsShareds,
145
- ...customPropsDateInputs,
146
- ...customPropsTimeInputs,
147
- [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR_TIMEWHEEL]: {
148
- "data-foo": "foo-calendar-timewheel-icon",
149
- "aria-label": "custom label for calendar-timewheel-icon",
150
- ignoredProp: "props not starting with data- or aria- are not exposed"
151
- }
152
- };
153
- const customPropsForFullDateTimePickerWhenOpen = {
154
- ...customPropsForFullDateTimePickerWhenClosed,
155
- [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR_TIMEWHEEL]: {
156
- "data-foo": "foo-contextual-menu-calendar-timewheel",
157
- "aria-label": "custom label for contextual-menu-calendar-timewheel",
158
- ignoredProp: "props not starting with data- or aria- are not exposed"
159
- },
160
- ...customPropsCalendarDatePart,
161
- ...customPropsCalendarTimePart
162
- };
163
- const customPropsForFullDatePickerWhenClosed = {
164
- ...customPropsShareds,
165
- ...customPropsDateInputs,
166
- [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR]: {
167
- "data-foo": "foo-calendar-icon",
168
- "aria-label": "custom label for calendar-icon",
169
- ignoredProp: "props not starting with data- or aria- are not exposed"
170
- }
171
- };
172
- const customPropsForFullDatePickerWhenOpen = {
173
- ...customPropsForFullDatePickerWhenClosed,
174
- [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR]: {
175
- "data-foo": "foo-contextual-menu-calendar",
176
- "aria-label": "custom label for contextual-menu-calendar",
177
- ignoredProp: "props not starting with data- or aria- are not exposed"
178
- },
179
- ...customPropsCalendarDatePart
180
- };
181
- const customPropsForFullTimePickerWhenClosed = {
182
- ...customPropsShareds,
183
- ...customPropsTimeInputs,
184
- [ControlledDateTimePickerDatatestid.PICKER_ICONS.TIMEWHEEL]: {
185
- "data-foo": "foo-timewheel-icon",
186
- "aria-label": "custom label for timewheel-icon",
187
- ignoredProp: "props not starting with data- or aria- are not exposed"
188
- }
189
- };
190
- const customPropsForFullTimePickerWhenOpen = {
191
- ...customPropsForFullTimePickerWhenClosed,
192
- [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.TIMEWHEEL]: {
193
- "data-foo": "foo-contextual-menu-timewheel",
194
- "aria-label": "custom label for contextual-menu-timewheel",
195
- ignoredProp: "props not starting with data- or aria- are not exposed"
196
- },
197
- ...customPropsCalendarTimePart
198
- };
199
- export {
200
- customPropsForFullDatePickerWhenClosed,
201
- customPropsForFullDatePickerWhenOpen,
202
- customPropsForFullDateTimePickerWhenClosed,
203
- customPropsForFullDateTimePickerWhenOpen,
204
- customPropsForFullTimePickerWhenClosed,
205
- customPropsForFullTimePickerWhenOpen
206
- };
207
- //# sourceMappingURL=customProps.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/tests/custom-props/customProps.js"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\n/* eslint-disable import/extensions */\nimport { ControlledDateTimePickerDatatestid } from '../../index';\nconst customPropsShareds = {\n [ControlledDateTimePickerDatatestid.CONTAINER]: {\n 'data-foo': 'foo-picker-container',\n 'aria-label': 'custom label for picker-container',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nconst customPropsDateInputs = {\n [ControlledDateTimePickerDatatestid.DATE_INPUTS.MONTH]: {\n 'data-foo': 'foo-month-input',\n 'aria-label': 'custom label for month-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.DATE_INPUTS.DAY]: {\n 'data-foo': 'foo-day-input',\n 'aria-label': 'custom label for day-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.DATE_INPUTS.YEAR]: {\n 'data-foo': 'foo-year-input',\n 'aria-label': 'custom label for year-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nconst customPropsTimeInputs = {\n [ControlledDateTimePickerDatatestid.TIME_INPUTS.HOUR]: {\n 'data-foo': 'foo-hour-input',\n 'aria-label': 'custom label for hour-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIME_INPUTS.MINUTE]: {\n 'data-foo': 'foo-minute-input',\n 'aria-label': 'custom label for minute-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIME_INPUTS.MERIDIEM]: {\n 'data-foo': 'foo-meridiem-input',\n 'aria-label': 'custom label for meridiem-input',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\n\nconst customPropsCalendarDatePart = {\n [ControlledDateTimePickerDatatestid.CALENDAR.HEADER_LABEL]: {\n 'data-foo': 'foo-calendar-header-label',\n 'aria-label': 'custom label for calendar-header-label',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.PREV_YEAR]: {\n 'data-foo': 'foo-calendar-prev-year',\n 'aria-label': 'custom label for calendar-prev-year',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.PREV_MONTH]: {\n 'data-foo': 'foo-calendar-prev-month',\n 'aria-label': 'custom label for calendar-prev-month',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.DAY]: {\n 'data-foo': 'foo-calendar-day',\n 'aria-label': 'custom label for calendar-day',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.NEXT_MONTH]: {\n 'data-foo': 'foo-calendar-next-month',\n 'aria-label': 'custom label for calendar-next-month',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.CALENDAR.NEXT_YEAR]: {\n 'data-foo': 'foo-calendar-next-year',\n 'aria-label': 'custom label for calendar-next-year',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\n\nconst customPropsCalendarTimePart = {\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.HEADER_LABEL]: {\n 'data-foo': 'foo-timewheel-header-label',\n 'aria-label': 'custom label for timewheel-header-label',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_HOUR]: {\n 'data-foo': 'foo-timewheel-prev-hour',\n 'aria-label': 'custom label for timewheel-prev-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.HOUR]: {\n 'data-foo': 'foo-timewheel-hour',\n 'aria-label': 'custom label for timewheel-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_HOUR]: {\n 'data-foo': 'foo-timewheel-current-hour',\n 'aria-label': 'custom label for timewheel-current-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_HOUR]: {\n 'data-foo': 'foo-timewheel-next-hour',\n 'aria-label': 'custom label for timewheel-next-hour',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MINUTE]: {\n 'data-foo': 'foo-timewheel-prev-minute',\n 'aria-label': 'custom label for timewheel-prev-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.MINUTE]: {\n 'data-foo': 'foo-timewheel-minute',\n 'aria-label': 'custom label for timewheel-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MINUTE]: {\n 'data-foo': 'foo-timewheel-current-minute',\n 'aria-label': 'custom label for timewheel-current-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MINUTE]: {\n 'data-foo': 'foo-timewheel-next-minute',\n 'aria-label': 'custom label for timewheel-next-minute',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.PREV_MERIDIEM]: {\n 'data-foo': 'foo-timewheel-prev-meridiem',\n 'aria-label': 'custom label for timewheel-prev-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.MERIDIEM]: {\n 'data-foo': 'foo-timewheel-meridiem',\n 'aria-label': 'custom label for timewheel-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.CURRENT_MERIDIEM]: {\n 'data-foo': 'foo-timewheel-current-meridiem',\n 'aria-label': 'custom label for timewheel-current-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n [ControlledDateTimePickerDatatestid.TIMEWHEEL.NEXT_MERIDIEM]: {\n 'data-foo': 'foo-timewheel-next-meridiem',\n 'aria-label': 'custom label for timewheel-next-meridiem',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\n// const customPropsCalendarDatePartSelections = {\n// [ControlledDateTimePickerDatatestid.CALENDAR.FOCUSED_DAY]: {\n// 'data-foo': 'foo-calendar-focused-day',\n// 'aria-label': 'custom label for calendar-focused-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.SELECTED_DAY]: {\n// 'data-foo': 'foo-calendar-selected-day',\n// 'aria-label': 'custom label for calendar-selected-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.SELECTED_FOCUSED_DAY]: {\n// 'data-foo': 'foo-calendar-selected-focused-day',\n// 'aria-label': 'custom label for calendar-selected-focused-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsCalendarDatePartRanges = {\n// [ControlledDateTimePickerDatatestid.CALENDAR.START_RANGE_DAY]: {\n// 'data-foo': 'foo-calendar-start-range-day',\n// 'aria-label': 'custom label for calendar-start-range-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.IN_RANGE_DAY]: {\n// 'data-foo': 'foo-calendar-in-range-day',\n// 'aria-label': 'custom label for calendar-in-range-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CALENDAR.END_RANGE_DAY]: {\n// 'data-foo': 'foo-calendar-end-range-day',\n// 'aria-label': 'custom label for calendar-end-range-day',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsPickersIcons = {\n// [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR]: {\n// 'data-foo': 'foo-calendar-icon',\n// 'aria-label': 'custom label for calendar-icon',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.PICKER_ICONS.TIMEWHEEL]: {\n// 'data-foo': 'foo-timewheel-icon',\n// 'aria-label': 'custom label for timewheel-icon',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsContextualMenu = {\n// [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR]: {\n// 'data-foo': 'foo-contextual-menu-calendar',\n// 'aria-label': 'custom label for contextual-menu-calendar',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.TIMEWHEEL]: {\n// 'data-foo': 'foo-contextual-menu-timewheel',\n// 'aria-label': 'custom label for contextual-menu-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsControllers = {\n// [ControlledDateTimePickerDatatestid.CONTROLLER_COMPONENT.CALENDAR]: {\n// 'data-foo': 'foo-controller-component-calendar',\n// 'aria-label': 'custom label for controller-component-calendar',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CONTROLLER_COMPONENT.TIMEWHEEL]: {\n// 'data-foo': 'foo-controller-component-timewheel',\n// 'aria-label': 'custom label for controller-component-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.CONTROLLER_COMPONENT.CALENDAR_TIMEWHEEL]: {\n// 'data-foo': 'foo-controller-component-calendar-timewheel',\n// 'aria-label': 'custom label for controller-component-calendar-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n// const customPropsFooters = {\n// [ControlledDateTimePickerDatatestid.FOOTERS.CALENDAR]: {\n// 'data-foo': 'foo-footers-calendar',\n// 'aria-label': 'custom label for footers-calendar',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.FOOTERS.TIMEWHEEL]: {\n// 'data-foo': 'foo-footers-timewheel',\n// 'aria-label': 'custom label for footers-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// [ControlledDateTimePickerDatatestid.FOOTERS.CALENDAR_TIMEWHEEL]: {\n// 'data-foo': 'foo-footers-calendar-timewheel',\n// 'aria-label': 'custom label for footers-calendar-timewheel',\n// ignoredProp: 'props not starting with data- or aria- are not exposed',\n// },\n// };\n\nexport const customPropsForFullDateTimePickerWhenClosed = {\n ...customPropsShareds,\n ...customPropsDateInputs,\n ...customPropsTimeInputs,\n [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR_TIMEWHEEL]: {\n 'data-foo': 'foo-calendar-timewheel-icon',\n 'aria-label': 'custom label for calendar-timewheel-icon',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nexport const customPropsForFullDateTimePickerWhenOpen = {\n ...customPropsForFullDateTimePickerWhenClosed,\n [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR_TIMEWHEEL]: {\n 'data-foo': 'foo-contextual-menu-calendar-timewheel',\n 'aria-label': 'custom label for contextual-menu-calendar-timewheel',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n ...customPropsCalendarDatePart,\n ...customPropsCalendarTimePart,\n};\nexport const customPropsForFullDatePickerWhenClosed = {\n ...customPropsShareds,\n ...customPropsDateInputs,\n [ControlledDateTimePickerDatatestid.PICKER_ICONS.CALENDAR]: {\n 'data-foo': 'foo-calendar-icon',\n 'aria-label': 'custom label for calendar-icon',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nexport const customPropsForFullDatePickerWhenOpen = {\n ...customPropsForFullDatePickerWhenClosed,\n [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.CALENDAR]: {\n 'data-foo': 'foo-contextual-menu-calendar',\n 'aria-label': 'custom label for contextual-menu-calendar',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n ...customPropsCalendarDatePart,\n};\nexport const customPropsForFullTimePickerWhenClosed = {\n ...customPropsShareds,\n ...customPropsTimeInputs,\n [ControlledDateTimePickerDatatestid.PICKER_ICONS.TIMEWHEEL]: {\n 'data-foo': 'foo-timewheel-icon',\n 'aria-label': 'custom label for timewheel-icon',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n};\nexport const customPropsForFullTimePickerWhenOpen = {\n ...customPropsForFullTimePickerWhenClosed,\n [ControlledDateTimePickerDatatestid.CONTEXTUAL_MENU.TIMEWHEEL]: {\n 'data-foo': 'foo-contextual-menu-timewheel',\n 'aria-label': 'custom label for contextual-menu-timewheel',\n ignoredProp: 'props not starting with data- or aria- are not exposed',\n },\n ...customPropsCalendarTimePart,\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,0CAA0C;AACnD,MAAM,qBAAqB;AAAA,EACzB,CAAC,mCAAmC,SAAS,GAAG;AAAA,IAC9C,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AACA,MAAM,wBAAwB;AAAA,EAC5B,CAAC,mCAAmC,YAAY,KAAK,GAAG;AAAA,IACtD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,CAAC,mCAAmC,YAAY,GAAG,GAAG;AAAA,IACpD,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AAAA,EACA,CAAC,mCAAmC,YAAY,IAAI,G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