@cloudscape-design/components-themeable 3.0.900 → 3.0.901

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.
@@ -2,26 +2,26 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "content": "awsui_content_vjswe_q5yvi_153",
6
- "button": "awsui_button_vjswe_q5yvi_157",
7
- "variant-normal": "awsui_variant-normal_vjswe_q5yvi_205",
8
- "variant-icon": "awsui_variant-icon_vjswe_q5yvi_248",
9
- "variant-modal-dismiss": "awsui_variant-modal-dismiss_vjswe_q5yvi_248",
10
- "variant-flashbar-icon": "awsui_variant-flashbar-icon_vjswe_q5yvi_248",
11
- "variant-inline-icon": "awsui_variant-inline-icon_vjswe_q5yvi_269",
12
- "disabled": "awsui_disabled_vjswe_q5yvi_290",
13
- "variant-primary": "awsui_variant-primary_vjswe_q5yvi_297",
14
- "variant-link": "awsui_variant-link_vjswe_q5yvi_389",
15
- "variant-inline-link": "awsui_variant-inline-link_vjswe_q5yvi_665",
16
- "variant-breadcrumb-group": "awsui_variant-breadcrumb-group_vjswe_q5yvi_945",
17
- "variant-menu-trigger": "awsui_variant-menu-trigger_vjswe_q5yvi_1042",
18
- "button-no-text": "awsui_button-no-text_vjswe_q5yvi_1134",
19
- "button-no-wrap": "awsui_button-no-wrap_vjswe_q5yvi_1138",
20
- "full-width": "awsui_full-width_vjswe_q5yvi_1141",
21
- "icon-left": "awsui_icon-left_vjswe_q5yvi_1160",
22
- "icon-right": "awsui_icon-right_vjswe_q5yvi_1165",
23
- "icon": "awsui_icon_vjswe_q5yvi_1160",
24
- "link": "awsui_link_vjswe_q5yvi_1184",
25
- "disabled-with-reason": "awsui_disabled-with-reason_vjswe_q5yvi_1184"
5
+ "content": "awsui_content_vjswe_1opon_153",
6
+ "button": "awsui_button_vjswe_1opon_157",
7
+ "variant-normal": "awsui_variant-normal_vjswe_1opon_205",
8
+ "disabled": "awsui_disabled_vjswe_1opon_223",
9
+ "variant-primary": "awsui_variant-primary_vjswe_1opon_230",
10
+ "variant-link": "awsui_variant-link_vjswe_1opon_255",
11
+ "variant-icon": "awsui_variant-icon_vjswe_1opon_280",
12
+ "variant-inline-icon": "awsui_variant-inline-icon_vjswe_1opon_305",
13
+ "variant-inline-link": "awsui_variant-inline-link_vjswe_1opon_330",
14
+ "variant-modal-dismiss": "awsui_variant-modal-dismiss_vjswe_1opon_359",
15
+ "variant-flashbar-icon": "awsui_variant-flashbar-icon_vjswe_1opon_384",
16
+ "variant-breadcrumb-group": "awsui_variant-breadcrumb-group_vjswe_1opon_409",
17
+ "variant-menu-trigger": "awsui_variant-menu-trigger_vjswe_1opon_439",
18
+ "button-no-text": "awsui_button-no-text_vjswe_1opon_531",
19
+ "button-no-wrap": "awsui_button-no-wrap_vjswe_1opon_535",
20
+ "full-width": "awsui_full-width_vjswe_1opon_538",
21
+ "icon-left": "awsui_icon-left_vjswe_1opon_557",
22
+ "icon-right": "awsui_icon-right_vjswe_1opon_562",
23
+ "icon": "awsui_icon_vjswe_1opon_557",
24
+ "link": "awsui_link_vjswe_1opon_581",
25
+ "disabled-with-reason": "awsui_disabled-with-reason_vjswe_1opon_581"
26
26
  };
27
27
 
@@ -65,8 +65,17 @@ export interface FormFieldProps extends BaseComponentProps {
65
65
  * non-empty string, it will render the form field in a warning state.
66
66
  */
67
67
  warningText?: React.ReactNode;
68
+ /**
69
+ * Specifies additional analytics-related metadata.
70
+ * * `instanceIdentifier` - A unique string that identifies this component instance in your application.
71
+ * @analytics
72
+ */
73
+ analyticsMetadata?: FormFieldProps.AnalyticsMetadata;
68
74
  }
69
75
  export declare namespace FormFieldProps {
76
+ interface AnalyticsMetadata {
77
+ instanceIdentifier?: string;
78
+ }
70
79
  interface I18nStrings {
71
80
  /**
72
81
  * Provides a text alternative for the error icon in the error message.
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../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,CAAC;CACtD;AAED,yBAAiB,cAAc,CAAC;IAC9B,UAAiB,iBAAiB;QAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B;IAED,UAAiB,WAAW;QAC1B;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc,EAAE,0BAA0B,CAAC,cAAc,CAAC;IACxG;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;IACxC,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/form-field/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { CSSProperties } from 'react';\n\nimport { AnalyticsMetadata } from '../internal/analytics/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\n\nexport interface FormFieldProps extends BaseComponentProps {\n /**\n * The ID of the primary form control. You can use this to set the\n * `for` attribute of a label for accessibility.\n *\n * If you don't set this property, the control group automatically sets\n * the label to the ID of an inner form control (for example, an [input](/components/input) component).\n * This only works well if you're using a single control in the form field.\n */\n controlId?: string;\n\n /**\n * Determines whether the primary control should expand to 12 columns.\n *\n * By default (or when this property is set to `false`), the primary control\n * occupies 9 columns. The secondary control uses the remaining 3 columns.\n * On smaller viewports, both components occupy 12 columns and stack on top of each other.\n *\n * If this property is set to `true`, the primary control uses the full\n * 12 columns. The secondary control (if present) also uses 12 columns, and the two\n * controls stack on top of each other.\n */\n stretch?: boolean;\n\n /**\n * The main label for the form field.\n */\n label?: React.ReactNode;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: FormFieldProps.I18nStrings;\n\n /**\n * Use to display an 'Info' link next to the label.\n */\n info?: React.ReactNode;\n\n /**\n * The primary form control (for example, input, textarea, etc.).\n * @displayname control\n */\n children?: React.ReactNode;\n\n /**\n * A secondary control. You can use this for custom actions and content.\n */\n secondaryControl?: React.ReactNode;\n\n /**\n * Detailed information about the form field that's displayed below the label.\n */\n description?: React.ReactNode;\n\n /**\n * Constraint text that's displayed below the control. Use this to provide\n * additional information about valid formats, etc.\n */\n constraintText?: React.ReactNode;\n\n /**\n * Text that displays as a validation error message. If this is set to a\n * non-empty string, it will render the form field as invalid.\n */\n errorText?: React.ReactNode;\n\n /**\n * Text that displays as a validation warning message. If this is set to a\n * non-empty string, it will render the form field in a warning state.\n */\n warningText?: React.ReactNode;\n}\n\nexport namespace FormFieldProps {\n export interface I18nStrings {\n /**\n * Provides a text alternative for the error icon in the error message.\n */\n errorIconAriaLabel?: string;\n\n /**\n * Provides a text alternative for the warning icon in the warning message.\n */\n warningIconAriaLabel?: string;\n }\n}\n\nexport interface InternalFormFieldProps extends FormFieldProps, InternalBaseComponentProps<HTMLDivElement> {\n /**\n * Visually hide the label.\n */\n __hideLabel?: boolean;\n\n /**\n * Disable the gutter applied by default.\n */\n __disableGutters?: boolean;\n __analyticsMetadata?: AnalyticsMetadata;\n __style?: CSSProperties;\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/form-field/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { CSSProperties } from 'react';\n\nimport { AnalyticsMetadata } from '../internal/analytics/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\n\nexport interface FormFieldProps extends BaseComponentProps {\n /**\n * The ID of the primary form control. You can use this to set the\n * `for` attribute of a label for accessibility.\n *\n * If you don't set this property, the control group automatically sets\n * the label to the ID of an inner form control (for example, an [input](/components/input) component).\n * This only works well if you're using a single control in the form field.\n */\n controlId?: string;\n\n /**\n * Determines whether the primary control should expand to 12 columns.\n *\n * By default (or when this property is set to `false`), the primary control\n * occupies 9 columns. The secondary control uses the remaining 3 columns.\n * On smaller viewports, both components occupy 12 columns and stack on top of each other.\n *\n * If this property is set to `true`, the primary control uses the full\n * 12 columns. The secondary control (if present) also uses 12 columns, and the two\n * controls stack on top of each other.\n */\n stretch?: boolean;\n\n /**\n * The main label for the form field.\n */\n label?: React.ReactNode;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n * @i18n\n */\n i18nStrings?: FormFieldProps.I18nStrings;\n\n /**\n * Use to display an 'Info' link next to the label.\n */\n info?: React.ReactNode;\n\n /**\n * The primary form control (for example, input, textarea, etc.).\n * @displayname control\n */\n children?: React.ReactNode;\n\n /**\n * A secondary control. You can use this for custom actions and content.\n */\n secondaryControl?: React.ReactNode;\n\n /**\n * Detailed information about the form field that's displayed below the label.\n */\n description?: React.ReactNode;\n\n /**\n * Constraint text that's displayed below the control. Use this to provide\n * additional information about valid formats, etc.\n */\n constraintText?: React.ReactNode;\n\n /**\n * Text that displays as a validation error message. If this is set to a\n * non-empty string, it will render the form field as invalid.\n */\n errorText?: React.ReactNode;\n\n /**\n * Text that displays as a validation warning message. If this is set to a\n * non-empty string, it will render the form field in a warning state.\n */\n warningText?: React.ReactNode;\n\n /**\n * Specifies additional analytics-related metadata.\n * * `instanceIdentifier` - A unique string that identifies this component instance in your application.\n * @analytics\n */\n analyticsMetadata?: FormFieldProps.AnalyticsMetadata;\n}\n\nexport namespace FormFieldProps {\n export interface AnalyticsMetadata {\n instanceIdentifier?: string;\n }\n\n export interface I18nStrings {\n /**\n * Provides a text alternative for the error icon in the error message.\n */\n errorIconAriaLabel?: string;\n\n /**\n * Provides a text alternative for the warning icon in the warning message.\n */\n warningIconAriaLabel?: string;\n }\n}\n\nexport interface InternalFormFieldProps extends FormFieldProps, InternalBaseComponentProps<HTMLDivElement> {\n /**\n * Visually hide the label.\n */\n __hideLabel?: boolean;\n\n /**\n * Disable the gutter applied by default.\n */\n __disableGutters?: boolean;\n __analyticsMetadata?: AnalyticsMetadata;\n __style?: CSSProperties;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (f8a00dd6)";
2
+ export var PACKAGE_VERSION = "3.0.0 (03d05744)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (f8a00dd6)",
3
+ "PACKAGE_VERSION": "3.0.0 (03d05744)",
4
4
  "THEME": "default",
5
5
  "ALWAYS_VISUAL_REFRESH": false
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudscape-design/components-themeable",
3
- "version": "3.0.900",
3
+ "version": "3.0.901",
4
4
  "files": [
5
5
  "lib"
6
6
  ],