@elliemae/ds-form-native-select 3.70.0-alpha.13 → 3.70.0-alpha.14
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/react-desc-prop-types.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import type React from 'react';\nimport type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport {\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n PropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSNativeSelectName, NATIVE_SELECT_SLOTS } from './constants/index.js';\n\nexport declare namespace DSNativeSelectT {\n /**\n * Explicit function-form slot prop types \u2014 one entry per slot.\n * NOTE: SlotFunctionArguments is a known cross-cutting gap across the forms group\n * (see TODO_ENTROPY_REVIEW.md). This package acts as the reference implementation.\n */\n export type SlotFunctionArguments = {\n dsNativeselectRoot: () => object;\n dsNativeselectInput: () => object;\n dsNativeselectDropIndicator: () => object;\n };\n\n export interface RequiredProps {}\n\n export interface DefaultProps {\n hasError: boolean;\n disabled: boolean;\n applyAriaDisabled: boolean;\n readOnly: boolean;\n }\n\n export interface OptionalProps
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAKO;AAEP,uBAAwD;
|
|
4
|
+
"sourcesContent": ["import type React from 'react';\nimport type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport {\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n PropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSNativeSelectName, NATIVE_SELECT_SLOTS } from './constants/index.js';\n\nexport declare namespace DSNativeSelectT {\n /**\n * Explicit function-form slot prop types \u2014 one entry per slot.\n * NOTE: SlotFunctionArguments is a known cross-cutting gap across the forms group\n * (see TODO_ENTROPY_REVIEW.md). This package acts as the reference implementation.\n */\n export type SlotFunctionArguments = {\n dsNativeselectRoot: () => object;\n dsNativeselectInput: () => object;\n dsNativeselectDropIndicator: () => object;\n };\n\n export interface RequiredProps {}\n\n export interface DefaultProps {\n hasError: boolean;\n disabled: boolean;\n applyAriaDisabled: boolean;\n readOnly: boolean;\n }\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSNativeSelectName,\n typeof NATIVE_SELECT_SLOTS\n > {\n children?: React.ReactNode;\n }\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSNativeSelectT.DefaultProps = {\n hasError: false,\n disabled: false,\n applyAriaDisabled: false,\n readOnly: false,\n};\n\nexport const DSNativeSelectPropTypes: DSPropTypesSchema<DSNativeSelectT.Props> = {\n ...getPropsPerSlotPropTypes(DSNativeSelectName, NATIVE_SELECT_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n hasError: PropTypes.bool.description('whether the input has an error').defaultValue(false),\n disabled: PropTypes.bool.description('whether the input is disabled').defaultValue(false),\n applyAriaDisabled: PropTypes.bool\n .description(\n 'Whether to apply disabled styling and announce as disabled in SR. CAN STILL RECEIVE FOCUS. PREVENTS ONLY MAIN ACTION',\n )\n .defaultValue(false),\n readOnly: PropTypes.bool\n .description(\n 'Renders the select as aria-disabled (readonly is not a valid HTML attribute on <select>): focusable, blocks onChange, shows the two-tone locked border. Does not set the HTML readonly attribute.',\n )\n .defaultValue(false),\n children: PropTypes.node.description('options to be rendered in the select'),\n};\n\nexport const DSNativeSelectPropTypesSchema = DSNativeSelectPropTypes as unknown as ValidationMap<DSNativeSelectT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAKO;AAEP,uBAAwD;AA+CjD,MAAM,eAA6C;AAAA,EACxD,UAAU;AAAA,EACV,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,UAAU;AACZ;AAEO,MAAM,0BAAoE;AAAA,EAC/E,OAAG,kDAAyB,qCAAoB,oCAAmB;AAAA,EACnE,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,kCAAU,KAAK,YAAY,gCAAgC,EAAE,aAAa,KAAK;AAAA,EACzF,UAAU,kCAAU,KAAK,YAAY,+BAA+B,EAAE,aAAa,KAAK;AAAA,EACxF,mBAAmB,kCAAU,KAC1B;AAAA,IACC;AAAA,EACF,EACC,aAAa,KAAK;AAAA,EACrB,UAAU,kCAAU,KACjB;AAAA,IACC;AAAA,EACF,EACC,aAAa,KAAK;AAAA,EACrB,UAAU,kCAAU,KAAK,YAAY,sCAAsC;AAC7E;AAEO,MAAM,gCAAgC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type React from 'react';\nimport type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport {\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n PropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSNativeSelectName, NATIVE_SELECT_SLOTS } from './constants/index.js';\n\nexport declare namespace DSNativeSelectT {\n /**\n * Explicit function-form slot prop types \u2014 one entry per slot.\n * NOTE: SlotFunctionArguments is a known cross-cutting gap across the forms group\n * (see TODO_ENTROPY_REVIEW.md). This package acts as the reference implementation.\n */\n export type SlotFunctionArguments = {\n dsNativeselectRoot: () => object;\n dsNativeselectInput: () => object;\n dsNativeselectDropIndicator: () => object;\n };\n\n export interface RequiredProps {}\n\n export interface DefaultProps {\n hasError: boolean;\n disabled: boolean;\n applyAriaDisabled: boolean;\n readOnly: boolean;\n }\n\n export interface OptionalProps
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACEvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,oBAAoB,2BAA2B;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type React from 'react';\nimport type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport {\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n PropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSNativeSelectName, NATIVE_SELECT_SLOTS } from './constants/index.js';\n\nexport declare namespace DSNativeSelectT {\n /**\n * Explicit function-form slot prop types \u2014 one entry per slot.\n * NOTE: SlotFunctionArguments is a known cross-cutting gap across the forms group\n * (see TODO_ENTROPY_REVIEW.md). This package acts as the reference implementation.\n */\n export type SlotFunctionArguments = {\n dsNativeselectRoot: () => object;\n dsNativeselectInput: () => object;\n dsNativeselectDropIndicator: () => object;\n };\n\n export interface RequiredProps {}\n\n export interface DefaultProps {\n hasError: boolean;\n disabled: boolean;\n applyAriaDisabled: boolean;\n readOnly: boolean;\n }\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSNativeSelectName,\n typeof NATIVE_SELECT_SLOTS\n > {\n children?: React.ReactNode;\n }\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSNativeSelectT.DefaultProps = {\n hasError: false,\n disabled: false,\n applyAriaDisabled: false,\n readOnly: false,\n};\n\nexport const DSNativeSelectPropTypes: DSPropTypesSchema<DSNativeSelectT.Props> = {\n ...getPropsPerSlotPropTypes(DSNativeSelectName, NATIVE_SELECT_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n hasError: PropTypes.bool.description('whether the input has an error').defaultValue(false),\n disabled: PropTypes.bool.description('whether the input is disabled').defaultValue(false),\n applyAriaDisabled: PropTypes.bool\n .description(\n 'Whether to apply disabled styling and announce as disabled in SR. CAN STILL RECEIVE FOCUS. PREVENTS ONLY MAIN ACTION',\n )\n .defaultValue(false),\n readOnly: PropTypes.bool\n .description(\n 'Renders the select as aria-disabled (readonly is not a valid HTML attribute on <select>): focusable, blocks onChange, shows the two-tone locked border. Does not set the HTML readonly attribute.',\n )\n .defaultValue(false),\n children: PropTypes.node.description('options to be rendered in the select'),\n};\n\nexport const DSNativeSelectPropTypesSchema = DSNativeSelectPropTypes as unknown as ValidationMap<DSNativeSelectT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACEvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,oBAAoB,2BAA2B;AA+CjD,MAAM,eAA6C;AAAA,EACxD,UAAU;AAAA,EACV,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,UAAU;AACZ;AAEO,MAAM,0BAAoE;AAAA,EAC/E,GAAG,yBAAyB,oBAAoB,mBAAmB;AAAA,EACnE,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,UAAU,KAAK,YAAY,gCAAgC,EAAE,aAAa,KAAK;AAAA,EACzF,UAAU,UAAU,KAAK,YAAY,+BAA+B,EAAE,aAAa,KAAK;AAAA,EACxF,mBAAmB,UAAU,KAC1B;AAAA,IACC;AAAA,EACF,EACC,aAAa,KAAK;AAAA,EACrB,UAAU,UAAU,KACjB;AAAA,IACC;AAAA,EACF,EACC,aAAa,KAAK;AAAA,EACrB,UAAU,UAAU,KAAK,YAAY,sCAAsC;AAC7E;AAEO,MAAM,gCAAgC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-form-native-select",
|
|
3
|
-
"version": "3.70.0-alpha.
|
|
3
|
+
"version": "3.70.0-alpha.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Form Native Select",
|
|
6
6
|
"files": [
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"indent": 4
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@elliemae/ds-grid": "3.70.0-alpha.
|
|
40
|
-
"@elliemae/ds-
|
|
41
|
-
"@elliemae/ds-
|
|
42
|
-
"@elliemae/ds-
|
|
43
|
-
"@elliemae/ds-typescript-helpers": "3.70.0-alpha.
|
|
39
|
+
"@elliemae/ds-grid": "3.70.0-alpha.14",
|
|
40
|
+
"@elliemae/ds-props-helpers": "3.70.0-alpha.14",
|
|
41
|
+
"@elliemae/ds-icons": "3.70.0-alpha.14",
|
|
42
|
+
"@elliemae/ds-system": "3.70.0-alpha.14",
|
|
43
|
+
"@elliemae/ds-typescript-helpers": "3.70.0-alpha.14"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@elliemae/pui-theme": "~2.13.0",
|
|
47
47
|
"jest": "^30.0.0",
|
|
48
48
|
"styled-components": "~5.3.11",
|
|
49
49
|
"styled-system": "^5.1.5",
|
|
50
|
-
"@elliemae/ds-monorepo-devops": "3.70.0-alpha.
|
|
50
|
+
"@elliemae/ds-monorepo-devops": "3.70.0-alpha.14"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@elliemae/pui-theme": "~2.13.0",
|