@cloudscape-design/components 3.0.1386 → 3.0.1388
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/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.th.js +1 -1
- package/i18n/messages/all.th.json +1 -1
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/components/radio-button/index.d.ts.map +1 -1
- package/internal/components/radio-button/index.js +2 -2
- package/internal/components/radio-button/index.js.map +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/manifest.json +1 -1
- package/manifest.json +2 -2
- package/package.json +19 -1
- package/radio-button/interfaces.d.ts +14 -0
- package/radio-button/interfaces.d.ts.map +1 -1
- package/radio-button/interfaces.js.map +1 -1
- package/table/body-cell/styles.css.js +47 -46
- package/table/body-cell/styles.scoped.css +376 -376
- package/table/body-cell/styles.selectors.js +47 -46
- package/table/body-cell/td-element.d.ts.map +1 -1
- package/table/body-cell/td-element.js +12 -12
- package/table/body-cell/td-element.js.map +1 -1
- package/table/header-cell/styles.css.js +39 -38
- package/table/header-cell/styles.scoped.css +80 -80
- package/table/header-cell/styles.selectors.js +39 -38
- package/table/header-cell/th-element.d.ts.map +1 -1
- package/table/header-cell/th-element.js +18 -8
- package/table/header-cell/th-element.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +9 -3
- package/table/internal.js.map +1 -1
- package/table/sticky-columns/use-sticky-columns.d.ts.map +1 -1
- package/table/sticky-columns/use-sticky-columns.js +13 -3
- package/table/sticky-columns/use-sticky-columns.js.map +1 -1
- package/table-body/index.d.ts +4 -0
- package/table-body/index.d.ts.map +1 -0
- package/table-body/index.js +14 -0
- package/table-body/index.js.map +1 -0
- package/table-body/interfaces.d.ts +17 -0
- package/table-body/interfaces.d.ts.map +1 -0
- package/table-body/interfaces.js +2 -0
- package/table-body/interfaces.js.map +1 -0
- package/table-body/internal.d.ts +10 -0
- package/table-body/internal.d.ts.map +1 -0
- package/table-body/internal.js +13 -0
- package/table-body/internal.js.map +1 -0
- package/table-body/styles.css.js +7 -0
- package/table-body/styles.scoped.css +11 -0
- package/table-body/styles.selectors.js +8 -0
- package/table-body-cell/index.d.ts +4 -0
- package/table-body-cell/index.d.ts.map +1 -0
- package/table-body-cell/index.js +17 -0
- package/table-body-cell/index.js.map +1 -0
- package/table-body-cell/interfaces.d.ts +20 -0
- package/table-body-cell/interfaces.d.ts.map +1 -0
- package/table-body-cell/interfaces.js +2 -0
- package/table-body-cell/interfaces.js.map +1 -0
- package/table-body-cell/internal.d.ts +25 -0
- package/table-body-cell/internal.d.ts.map +1 -0
- package/table-body-cell/internal.js +36 -0
- package/table-body-cell/internal.js.map +1 -0
- package/table-body-cell/styles.css.js +7 -0
- package/table-body-cell/styles.scoped.css +38 -0
- package/table-body-cell/styles.selectors.js +8 -0
- package/table-head/index.d.ts +4 -0
- package/table-head/index.d.ts.map +1 -0
- package/table-head/index.js +14 -0
- package/table-head/index.js.map +1 -0
- package/table-head/interfaces.d.ts +7 -0
- package/table-head/interfaces.d.ts.map +1 -0
- package/table-head/interfaces.js +2 -0
- package/table-head/interfaces.js.map +1 -0
- package/table-head/internal.d.ts +8 -0
- package/table-head/internal.d.ts.map +1 -0
- package/table-head/internal.js +13 -0
- package/table-head/internal.js.map +1 -0
- package/table-head/styles.css.js +7 -0
- package/table-head/styles.scoped.css +11 -0
- package/table-head/styles.selectors.js +8 -0
- package/table-header-cell/index.d.ts +4 -0
- package/table-header-cell/index.d.ts.map +1 -0
- package/table-header-cell/index.js +16 -0
- package/table-header-cell/index.js.map +1 -0
- package/table-header-cell/interfaces.d.ts +21 -0
- package/table-header-cell/interfaces.d.ts.map +1 -0
- package/table-header-cell/interfaces.js +2 -0
- package/table-header-cell/interfaces.js.map +1 -0
- package/table-header-cell/internal.d.ts +17 -0
- package/table-header-cell/internal.d.ts.map +1 -0
- package/table-header-cell/internal.js +33 -0
- package/table-header-cell/internal.js.map +1 -0
- package/table-header-cell/styles.css.js +11 -0
- package/table-header-cell/styles.scoped.css +49 -0
- package/table-header-cell/styles.selectors.js +12 -0
- package/table-root/context.d.ts +9 -0
- package/table-root/context.d.ts.map +1 -0
- package/table-root/context.js +16 -0
- package/table-root/context.js.map +1 -0
- package/table-root/grid-template-columns.d.ts +2 -0
- package/table-root/grid-template-columns.d.ts.map +1 -0
- package/table-root/grid-template-columns.js +34 -0
- package/table-root/grid-template-columns.js.map +1 -0
- package/table-root/index.d.ts +7 -0
- package/table-root/index.d.ts.map +1 -0
- package/table-root/index.js +17 -0
- package/table-root/index.js.map +1 -0
- package/table-root/interfaces.d.ts +63 -0
- package/table-root/interfaces.d.ts.map +1 -0
- package/table-root/interfaces.js +2 -0
- package/table-root/interfaces.js.map +1 -0
- package/table-root/internal.d.ts +13 -0
- package/table-root/internal.d.ts.map +1 -0
- package/table-root/internal.js +58 -0
- package/table-root/internal.js.map +1 -0
- package/table-root/styles.css.js +10 -0
- package/table-root/styles.scoped.css +71 -0
- package/table-root/styles.selectors.js +11 -0
- package/table-row/index.d.ts +4 -0
- package/table-row/index.d.ts.map +1 -0
- package/table-row/index.js +16 -0
- package/table-row/index.js.map +1 -0
- package/table-row/interfaces.d.ts +38 -0
- package/table-row/interfaces.d.ts.map +1 -0
- package/table-row/interfaces.js +2 -0
- package/table-row/interfaces.js.map +1 -0
- package/table-row/internal.d.ts +15 -0
- package/table-row/internal.d.ts.map +1 -0
- package/table-row/internal.js +13 -0
- package/table-row/internal.js.map +1 -0
- package/table-row/styles.css.js +7 -0
- package/table-row/styles.scoped.css +42 -0
- package/table-row/styles.selectors.js +8 -0
- package/test-utils/dom/index.d.ts +168 -0
- package/test-utils/dom/index.js +116 -1
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/table-body/index.d.ts +4 -0
- package/test-utils/dom/table-body/index.js +11 -0
- package/test-utils/dom/table-body/index.js.map +1 -0
- package/test-utils/dom/table-body-cell/index.d.ts +4 -0
- package/test-utils/dom/table-body-cell/index.js +11 -0
- package/test-utils/dom/table-body-cell/index.js.map +1 -0
- package/test-utils/dom/table-head/index.d.ts +4 -0
- package/test-utils/dom/table-head/index.js +11 -0
- package/test-utils/dom/table-head/index.js.map +1 -0
- package/test-utils/dom/table-header-cell/index.d.ts +4 -0
- package/test-utils/dom/table-header-cell/index.js +11 -0
- package/test-utils/dom/table-header-cell/index.js.map +1 -0
- package/test-utils/dom/table-root/index.d.ts +4 -0
- package/test-utils/dom/table-root/index.js +11 -0
- package/test-utils/dom/table-root/index.js.map +1 -0
- package/test-utils/dom/table-row/index.d.ts +4 -0
- package/test-utils/dom/table-row/index.js +11 -0
- package/test-utils/dom/table-row/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +108 -0
- package/test-utils/selectors/index.js +86 -1
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/table-body/index.d.ts +4 -0
- package/test-utils/selectors/table-body/index.js +11 -0
- package/test-utils/selectors/table-body/index.js.map +1 -0
- package/test-utils/selectors/table-body-cell/index.d.ts +4 -0
- package/test-utils/selectors/table-body-cell/index.js +11 -0
- package/test-utils/selectors/table-body-cell/index.js.map +1 -0
- package/test-utils/selectors/table-head/index.d.ts +4 -0
- package/test-utils/selectors/table-head/index.js +11 -0
- package/test-utils/selectors/table-head/index.js.map +1 -0
- package/test-utils/selectors/table-header-cell/index.d.ts +4 -0
- package/test-utils/selectors/table-header-cell/index.js +11 -0
- package/test-utils/selectors/table-header-cell/index.js.map +1 -0
- package/test-utils/selectors/table-root/index.d.ts +4 -0
- package/test-utils/selectors/table-root/index.js +11 -0
- package/test-utils/selectors/table-root/index.js.map +1 -0
- package/test-utils/selectors/table-row/index.d.ts +4 -0
- package/test-utils/selectors/table-row/index.js +11 -0
- package/test-utils/selectors/table-row/index.js.map +1 -0
package/index.js.map
CHANGED
|
@@ -1 +1 @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BAA2B,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAe,MAAM,mBAAmB,CAAC;AACnE,cAAc,iBAAiB,CAAC","sourcesContent":["export { default as ActionCard, ActionCardProps } from './action-card/index.js';\nexport { default as Alert, AlertProps } from './alert/index.js';\nexport { default as AnchorNavigation, AnchorNavigationProps } from './anchor-navigation/index.js';\nexport { default as AnnotationContext, AnnotationContextProps } from './annotation-context/index.js';\nexport { default as AppLayout, AppLayoutProps } from './app-layout/index.js';\nexport { default as AppLayoutToolbar, AppLayoutToolbarProps } from './app-layout-toolbar/index.js';\nexport { default as AreaChart, AreaChartProps } from './area-chart/index.js';\nexport { default as AttributeEditor, AttributeEditorProps } from './attribute-editor/index.js';\nexport { default as Autosuggest, AutosuggestProps } from './autosuggest/index.js';\nexport { default as Badge, BadgeProps } from './badge/index.js';\nexport { default as BarChart, BarChartProps } from './bar-chart/index.js';\nexport { default as Box, BoxProps } from './box/index.js';\nexport { default as BreadcrumbGroup, BreadcrumbGroupProps } from './breadcrumb-group/index.js';\nexport { default as Button, ButtonProps } from './button/index.js';\nexport { default as ButtonDropdown, ButtonDropdownProps } from './button-dropdown/index.js';\nexport { default as ButtonGroup, ButtonGroupProps } from './button-group/index.js';\nexport { default as Calendar, CalendarProps } from './calendar/index.js';\nexport { default as Cards, CardsProps } from './cards/index.js';\nexport { default as Checkbox, CheckboxProps } from './checkbox/index.js';\nexport { default as CodeEditor, CodeEditorProps } from './code-editor/index.js';\nexport { default as CollectionPreferences, CollectionPreferencesProps } from './collection-preferences/index.js';\nexport { default as ColumnLayout, ColumnLayoutProps } from './column-layout/index.js';\nexport { default as Container, ContainerProps } from './container/index.js';\nexport { default as ContentLayout, ContentLayoutProps } from './content-layout/index.js';\nexport { default as CopyToClipboard, CopyToClipboardProps } from './copy-to-clipboard/index.js';\nexport { default as DateInput, DateInputProps } from './date-input/index.js';\nexport { default as DatePicker, DatePickerProps } from './date-picker/index.js';\nexport { default as DateRangePicker, DateRangePickerProps } from './date-range-picker/index.js';\nexport { default as Dialog, DialogProps } from './dialog/index.js';\nexport { default as Divider, DividerProps } from './divider/index.js';\nexport { default as Drawer, DrawerProps } from './drawer/index.js';\nexport { default as Dropdown, DropdownProps } from './dropdown/index.js';\nexport { default as ErrorBoundary, ErrorBoundaryProps } from './error-boundary/index.js';\nexport { default as ExpandableSection, ExpandableSectionProps } from './expandable-section/index.js';\nexport { default as FileDropzone, FileDropzoneProps } from './file-dropzone/index.js';\nexport { default as FileInput, FileInputProps } from './file-input/index.js';\nexport { default as FileTokenGroup, FileTokenGroupProps } from './file-token-group/index.js';\nexport { default as FileUpload, FileUploadProps } from './file-upload/index.js';\nexport { default as Flashbar, FlashbarProps } from './flashbar/index.js';\nexport { default as Form, FormProps } from './form/index.js';\nexport { default as FormField, FormFieldProps } from './form-field/index.js';\nexport { default as Grid, GridProps } from './grid/index.js';\nexport { default as Header, HeaderProps } from './header/index.js';\nexport { default as HelpPanel, HelpPanelProps } from './help-panel/index.js';\nexport { default as Hotspot, HotspotProps } from './hotspot/index.js';\nexport { default as Icon, IconProps } from './icon/index.js';\nexport { default as IconProvider, IconProviderProps } from './icon-provider/index.js';\nexport { default as Input, InputProps } from './input/index.js';\nexport { default as ItemCard, ItemCardProps } from './item-card/index.js';\nexport { default as KeyValuePairs, KeyValuePairsProps } from './key-value-pairs/index.js';\nexport { default as LineChart, LineChartProps } from './line-chart/index.js';\nexport { default as Link, LinkProps } from './link/index.js';\nexport { default as List, ListProps } from './list/index.js';\nexport { default as LiveRegion, LiveRegionProps } from './live-region/index.js';\nexport { default as MixedLineBarChart, MixedLineBarChartProps } from './mixed-line-bar-chart/index.js';\nexport { default as Modal, ModalProps } from './modal/index.js';\nexport { default as Multiselect, MultiselectProps } from './multiselect/index.js';\nexport { default as NavigableGroup, NavigableGroupProps } from './navigable-group/index.js';\nexport { default as Pagination, PaginationProps } from './pagination/index.js';\nexport { default as PanelLayout, PanelLayoutProps } from './panel-layout/index.js';\nexport { default as PieChart, PieChartProps } from './pie-chart/index.js';\nexport { default as Popover, PopoverProps } from './popover/index.js';\nexport { default as ProgressBar, ProgressBarProps } from './progress-bar/index.js';\nexport { default as PromptInput, PromptInputProps } from './prompt-input/index.js';\nexport { default as PropertyFilter, PropertyFilterProps } from './property-filter/index.js';\nexport { default as RadioButton, RadioButtonProps } from './radio-button/index.js';\nexport { default as RadioGroup, RadioGroupProps } from './radio-group/index.js';\nexport { default as S3ResourceSelector, S3ResourceSelectorProps } from './s3-resource-selector/index.js';\nexport { default as SegmentedControl, SegmentedControlProps } from './segmented-control/index.js';\nexport { default as Select, SelectProps } from './select/index.js';\nexport { default as SideNavigation, SideNavigationProps } from './side-navigation/index.js';\nexport { default as Skeleton, SkeletonProps } from './skeleton/index.js';\nexport { default as Slider, SliderProps } from './slider/index.js';\nexport { default as SpaceBetween, SpaceBetweenProps } from './space-between/index.js';\nexport { default as Spinner, SpinnerProps } from './spinner/index.js';\nexport { default as SplitPanel, SplitPanelProps } from './split-panel/index.js';\nexport { default as StatusIndicator, StatusIndicatorProps } from './status-indicator/index.js';\nexport { default as Steps, StepsProps } from './steps/index.js';\nexport { default as Table, TableProps } from './table/index.js';\nexport { default as Tabs, TabsProps } from './tabs/index.js';\nexport { default as TagEditor, TagEditorProps } from './tag-editor/index.js';\nexport { default as TextContent, TextContentProps } from './text-content/index.js';\nexport { default as TextFilter, TextFilterProps } from './text-filter/index.js';\nexport { default as Textarea, TextareaProps } from './textarea/index.js';\nexport { default as Tiles, TilesProps } from './tiles/index.js';\nexport { default as TimeInput, TimeInputProps } from './time-input/index.js';\nexport { default as Toggle, ToggleProps } from './toggle/index.js';\nexport { default as ToggleButton, ToggleButtonProps } from './toggle-button/index.js';\nexport { default as Token, TokenProps } from './token/index.js';\nexport { default as TokenGroup, TokenGroupProps } from './token-group/index.js';\nexport { default as Tooltip, TooltipProps } from './tooltip/index.js';\nexport { default as TopNavigation, TopNavigationProps } from './top-navigation/index.js';\nexport { default as TreeView, TreeViewProps } from './tree-view/index.js';\nexport { default as TruncatedText, TruncatedTextProps } from './truncated-text/index.js';\nexport { default as TutorialPanel, TutorialPanelProps } from './tutorial-panel/index.js';\nexport { default as Wizard, WizardProps } from './wizard/index.js';\nexport * from './interfaces.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAmB,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAc,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAyB,MAAM,8BAA8B,CAAC;AAClG,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAA0B,MAAM,+BAA+B,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,SAAS,EAAkB,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAyB,MAAM,+BAA+B,CAAC;AACnG,OAAO,EAAE,OAAO,IAAI,SAAS,EAAkB,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAwB,MAAM,6BAA6B,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,WAAW,EAAoB,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAc,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAiB,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,GAAG,EAAY,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAwB,MAAM,6BAA6B,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,MAAM,EAAe,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAuB,MAAM,4BAA4B,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,WAAW,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OAAO,IAAI,MAAM,EAAe,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAqB,MAAM,0BAA0B,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAc,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAmB,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAgB,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAsB,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAiB,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAsB,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAsB,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAe,MAAM,mBAAmB,CAAC;AACnE,cAAc,iBAAiB,CAAC","sourcesContent":["export { default as ActionCard, ActionCardProps } from './action-card/index.js';\nexport { default as Alert, AlertProps } from './alert/index.js';\nexport { default as AnchorNavigation, AnchorNavigationProps } from './anchor-navigation/index.js';\nexport { default as AnnotationContext, AnnotationContextProps } from './annotation-context/index.js';\nexport { default as AppLayout, AppLayoutProps } from './app-layout/index.js';\nexport { default as AppLayoutToolbar, AppLayoutToolbarProps } from './app-layout-toolbar/index.js';\nexport { default as AreaChart, AreaChartProps } from './area-chart/index.js';\nexport { default as AttributeEditor, AttributeEditorProps } from './attribute-editor/index.js';\nexport { default as Autosuggest, AutosuggestProps } from './autosuggest/index.js';\nexport { default as Badge, BadgeProps } from './badge/index.js';\nexport { default as BarChart, BarChartProps } from './bar-chart/index.js';\nexport { default as Box, BoxProps } from './box/index.js';\nexport { default as BreadcrumbGroup, BreadcrumbGroupProps } from './breadcrumb-group/index.js';\nexport { default as Button, ButtonProps } from './button/index.js';\nexport { default as ButtonDropdown, ButtonDropdownProps } from './button-dropdown/index.js';\nexport { default as ButtonGroup, ButtonGroupProps } from './button-group/index.js';\nexport { default as Calendar, CalendarProps } from './calendar/index.js';\nexport { default as Cards, CardsProps } from './cards/index.js';\nexport { default as Checkbox, CheckboxProps } from './checkbox/index.js';\nexport { default as CodeEditor, CodeEditorProps } from './code-editor/index.js';\nexport { default as CollectionPreferences, CollectionPreferencesProps } from './collection-preferences/index.js';\nexport { default as ColumnLayout, ColumnLayoutProps } from './column-layout/index.js';\nexport { default as Container, ContainerProps } from './container/index.js';\nexport { default as ContentLayout, ContentLayoutProps } from './content-layout/index.js';\nexport { default as CopyToClipboard, CopyToClipboardProps } from './copy-to-clipboard/index.js';\nexport { default as DateInput, DateInputProps } from './date-input/index.js';\nexport { default as DatePicker, DatePickerProps } from './date-picker/index.js';\nexport { default as DateRangePicker, DateRangePickerProps } from './date-range-picker/index.js';\nexport { default as Dialog, DialogProps } from './dialog/index.js';\nexport { default as Divider, DividerProps } from './divider/index.js';\nexport { default as Drawer, DrawerProps } from './drawer/index.js';\nexport { default as Dropdown, DropdownProps } from './dropdown/index.js';\nexport { default as ErrorBoundary, ErrorBoundaryProps } from './error-boundary/index.js';\nexport { default as ExpandableSection, ExpandableSectionProps } from './expandable-section/index.js';\nexport { default as FileDropzone, FileDropzoneProps } from './file-dropzone/index.js';\nexport { default as FileInput, FileInputProps } from './file-input/index.js';\nexport { default as FileTokenGroup, FileTokenGroupProps } from './file-token-group/index.js';\nexport { default as FileUpload, FileUploadProps } from './file-upload/index.js';\nexport { default as Flashbar, FlashbarProps } from './flashbar/index.js';\nexport { default as Form, FormProps } from './form/index.js';\nexport { default as FormField, FormFieldProps } from './form-field/index.js';\nexport { default as Grid, GridProps } from './grid/index.js';\nexport { default as Header, HeaderProps } from './header/index.js';\nexport { default as HelpPanel, HelpPanelProps } from './help-panel/index.js';\nexport { default as Hotspot, HotspotProps } from './hotspot/index.js';\nexport { default as Icon, IconProps } from './icon/index.js';\nexport { default as IconProvider, IconProviderProps } from './icon-provider/index.js';\nexport { default as Input, InputProps } from './input/index.js';\nexport { default as ItemCard, ItemCardProps } from './item-card/index.js';\nexport { default as KeyValuePairs, KeyValuePairsProps } from './key-value-pairs/index.js';\nexport { default as LineChart, LineChartProps } from './line-chart/index.js';\nexport { default as Link, LinkProps } from './link/index.js';\nexport { default as List, ListProps } from './list/index.js';\nexport { default as LiveRegion, LiveRegionProps } from './live-region/index.js';\nexport { default as MixedLineBarChart, MixedLineBarChartProps } from './mixed-line-bar-chart/index.js';\nexport { default as Modal, ModalProps } from './modal/index.js';\nexport { default as Multiselect, MultiselectProps } from './multiselect/index.js';\nexport { default as NavigableGroup, NavigableGroupProps } from './navigable-group/index.js';\nexport { default as Pagination, PaginationProps } from './pagination/index.js';\nexport { default as PanelLayout, PanelLayoutProps } from './panel-layout/index.js';\nexport { default as PieChart, PieChartProps } from './pie-chart/index.js';\nexport { default as Popover, PopoverProps } from './popover/index.js';\nexport { default as ProgressBar, ProgressBarProps } from './progress-bar/index.js';\nexport { default as PromptInput, PromptInputProps } from './prompt-input/index.js';\nexport { default as PropertyFilter, PropertyFilterProps } from './property-filter/index.js';\nexport { default as RadioButton, RadioButtonProps } from './radio-button/index.js';\nexport { default as RadioGroup, RadioGroupProps } from './radio-group/index.js';\nexport { default as S3ResourceSelector, S3ResourceSelectorProps } from './s3-resource-selector/index.js';\nexport { default as SegmentedControl, SegmentedControlProps } from './segmented-control/index.js';\nexport { default as Select, SelectProps } from './select/index.js';\nexport { default as SideNavigation, SideNavigationProps } from './side-navigation/index.js';\nexport { default as Skeleton, SkeletonProps } from './skeleton/index.js';\nexport { default as Slider, SliderProps } from './slider/index.js';\nexport { default as SpaceBetween, SpaceBetweenProps } from './space-between/index.js';\nexport { default as Spinner, SpinnerProps } from './spinner/index.js';\nexport { default as SplitPanel, SplitPanelProps } from './split-panel/index.js';\nexport { default as StatusIndicator, StatusIndicatorProps } from './status-indicator/index.js';\nexport { default as Steps, StepsProps } from './steps/index.js';\nexport { default as Table, TableProps } from './table/index.js';\nexport { default as TableBody, TableBodyProps } from './table-body/index.js';\nexport { default as TableBodyCell, TableBodyCellProps } from './table-body-cell/index.js';\nexport { default as TableHead, TableHeadProps } from './table-head/index.js';\nexport { default as TableHeaderCell, TableHeaderCellProps } from './table-header-cell/index.js';\nexport { default as TableRoot, TableRootProps } from './table-root/index.js';\nexport { default as TableRow, TableRowProps } from './table-row/index.js';\nexport { default as Tabs, TabsProps } from './tabs/index.js';\nexport { default as TagEditor, TagEditorProps } from './tag-editor/index.js';\nexport { default as TextContent, TextContentProps } from './text-content/index.js';\nexport { default as TextFilter, TextFilterProps } from './text-filter/index.js';\nexport { default as Textarea, TextareaProps } from './textarea/index.js';\nexport { default as Tiles, TilesProps } from './tiles/index.js';\nexport { default as TimeInput, TimeInputProps } from './time-input/index.js';\nexport { default as Toggle, ToggleProps } from './toggle/index.js';\nexport { default as ToggleButton, ToggleButtonProps } from './toggle-button/index.js';\nexport { default as Token, TokenProps } from './token/index.js';\nexport { default as TokenGroup, TokenGroupProps } from './token-group/index.js';\nexport { default as Tooltip, TooltipProps } from './tooltip/index.js';\nexport { default as TopNavigation, TopNavigationProps } from './top-navigation/index.js';\nexport { default as TreeView, TreeViewProps } from './tree-view/index.js';\nexport { default as TruncatedText, TruncatedTextProps } from './truncated-text/index.js';\nexport { default as TutorialPanel, TutorialPanelProps } from './tutorial-panel/index.js';\nexport { default as Wizard, WizardProps } from './wizard/index.js';\nexport * from './interfaces.js';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/radio-button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAOtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAA6B,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAMxF,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB,EAAE,0BAA0B;IAC5F,8BAA8B,CAAC,EAAE,YAAY,CAAC;CAC/C;;AAED,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/radio-button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAOtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAA6B,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAMxF,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB,EAAE,0BAA0B;IAC5F,8BAA8B,CAAC,EAAE,YAAY,CAAC;CAC/C;;AAED,wBAkGG"}
|
|
@@ -12,12 +12,12 @@ import WithNativeAttributes from '../../utils/with-native-attributes';
|
|
|
12
12
|
import { getAbstractSwitchStyles, getInnerCircleStyle, getOuterCircleStyle } from './style';
|
|
13
13
|
import styles from './styles.css.js';
|
|
14
14
|
import testUtilStyles from './test-classes/styles.css.js';
|
|
15
|
-
export default React.forwardRef(function RadioButton({ name, children, value, checked, description, disabled, controlId, readOnly, className, style, nativeInputAttributes, onSelect, __skipNativeAttributesWarnings, ...rest }, ref) {
|
|
15
|
+
export default React.forwardRef(function RadioButton({ name, children, value, checked, ariaLabel, ariaLabelledby, ariaDescribedby, description, disabled, controlId, readOnly, className, style, nativeInputAttributes, onSelect, __skipNativeAttributesWarnings, ...rest }, ref) {
|
|
16
16
|
const radioButtonRef = useRef(null);
|
|
17
17
|
const mergedRefs = useMergeRefs(radioButtonRef, ref);
|
|
18
18
|
const { tabIndex } = useSingleTabStopNavigation(radioButtonRef);
|
|
19
19
|
const baseProps = getBaseProps(rest);
|
|
20
|
-
return (React.createElement(AbstractSwitch, { ...baseProps, className: clsx(testUtilStyles.root, className), controlClassName: styles['radio-control'], outlineClassName: styles.outline, label: children, description: description, disabled: disabled, readOnly: readOnly, controlId: controlId, style: getAbstractSwitchStyles(style, checked, disabled, readOnly), __internalRootRef: rest.__internalRootRef, ...copyAnalyticsMetadataAttribute(rest), nativeControl: nativeControlProps => (React.createElement(WithNativeAttributes, { ...nativeControlProps, tag: "input", componentName: "RadioButton", nativeAttributes: nativeInputAttributes, skipWarnings: __skipNativeAttributesWarnings, tabIndex: tabIndex, type: "radio", ref: mergedRefs, name: name, value: value, checked: checked, "aria-disabled": readOnly && !disabled ? 'true' : undefined,
|
|
20
|
+
return (React.createElement(AbstractSwitch, { ...baseProps, className: clsx(testUtilStyles.root, className), controlClassName: styles['radio-control'], outlineClassName: styles.outline, label: children, ariaLabel: ariaLabel, ariaLabelledby: ariaLabelledby, ariaDescribedby: ariaDescribedby, description: description, disabled: disabled, readOnly: readOnly, controlId: controlId, style: getAbstractSwitchStyles(style, checked, disabled, readOnly), __internalRootRef: rest.__internalRootRef, ...copyAnalyticsMetadataAttribute(rest), nativeControl: nativeControlProps => (React.createElement(WithNativeAttributes, { ...nativeControlProps, tag: "input", componentName: "RadioButton", nativeAttributes: nativeInputAttributes, skipWarnings: __skipNativeAttributesWarnings, tabIndex: tabIndex, type: "radio", ref: mergedRefs, name: name, value: value, checked: checked, "aria-disabled": readOnly && !disabled ? 'true' : undefined,
|
|
21
21
|
// empty handler to suppress React controllability warning
|
|
22
22
|
onChange: () => { } })), onClick: () => {
|
|
23
23
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/radio-button/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,M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AAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,GAC9D;YACF,gCACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE;oBAC5C,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,QAAQ;oBAC5C,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,OAAO;oBAC1C,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,QAAQ;iBAC7C,CAAC,EACF,WAAW,EAAE,EAAE,EACf,EAAE,EAAE,EAAE,EACN,EAAE,EAAE,EAAE,EACN,CAAC,EAAE,EAAE,EACL,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,GAC9D,CACE,GAER,CACH,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs } from '@cloudscape-design/component-toolkit/internal';\nimport { useSingleTabStopNavigation } from '@cloudscape-design/component-toolkit/internal';\nimport { copyAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { RadioButtonProps } from '../../../radio-button/interfaces';\nimport { getBaseProps } from '../../base-component';\nimport AbstractSwitch from '../../components/abstract-switch';\nimport { fireNonCancelableEvent } from '../../events';\nimport { InternalBaseComponentProps } from '../../hooks/use-base-component';\nimport WithNativeAttributes, { SkipWarnings } from '../../utils/with-native-attributes';\nimport { getAbstractSwitchStyles, getInnerCircleStyle, getOuterCircleStyle } from './style';\n\nimport styles from './styles.css.js';\nimport testUtilStyles from './test-classes/styles.css.js';\n\nexport interface InternalRadioButtonProps extends RadioButtonProps, InternalBaseComponentProps {\n __skipNativeAttributesWarnings?: SkipWarnings;\n}\n\nexport default React.forwardRef(function RadioButton(\n {\n name,\n children,\n value,\n checked,\n description,\n disabled,\n controlId,\n readOnly,\n className,\n style,\n nativeInputAttributes,\n onSelect,\n __skipNativeAttributesWarnings,\n ...rest\n }: InternalRadioButtonProps,\n ref: React.Ref<HTMLInputElement>\n) {\n const radioButtonRef = useRef<HTMLInputElement>(null);\n const mergedRefs = useMergeRefs(radioButtonRef, ref);\n\n const { tabIndex } = useSingleTabStopNavigation(radioButtonRef);\n const baseProps = getBaseProps(rest);\n\n return (\n <AbstractSwitch\n {...baseProps}\n className={clsx(testUtilStyles.root, className)}\n controlClassName={styles['radio-control']}\n outlineClassName={styles.outline}\n label={children}\n description={description}\n disabled={disabled}\n readOnly={readOnly}\n controlId={controlId}\n style={getAbstractSwitchStyles(style, checked, disabled, readOnly)}\n __internalRootRef={rest.__internalRootRef}\n {...copyAnalyticsMetadataAttribute(rest)}\n nativeControl={nativeControlProps => (\n <WithNativeAttributes<HTMLInputElement, React.InputHTMLAttributes<HTMLInputElement>>\n {...nativeControlProps}\n tag=\"input\"\n componentName=\"RadioButton\"\n nativeAttributes={nativeInputAttributes}\n skipWarnings={__skipNativeAttributesWarnings}\n tabIndex={tabIndex}\n type=\"radio\"\n ref={mergedRefs}\n name={name}\n value={value}\n checked={checked}\n aria-disabled={readOnly && !disabled ? 'true' : undefined}\n // empty handler to suppress React controllability warning\n onChange={() => {}}\n />\n )}\n onClick={() => {\n radioButtonRef.current?.focus();\n if (!checked) {\n fireNonCancelableEvent(onSelect);\n }\n }}\n styledControl={\n <svg viewBox=\"0 0 100 100\" focusable=\"false\" aria-hidden=\"true\">\n <circle\n className={clsx(styles['styled-circle-border'], {\n [styles['styled-circle-disabled']]: disabled,\n [styles['styled-circle-readonly']]: readOnly,\n })}\n strokeWidth={6.25}\n cx={50}\n cy={50}\n r={46}\n style={getOuterCircleStyle(style, checked, disabled, readOnly)}\n />\n <circle\n className={clsx(styles['styled-circle-fill'], {\n [styles['styled-circle-disabled']]: disabled,\n [styles['styled-circle-checked']]: checked,\n [styles['styled-circle-readonly']]: readOnly,\n })}\n strokeWidth={30}\n cx={50}\n cy={50}\n r={35}\n style={getInnerCircleStyle(style, checked, disabled, readOnly)}\n />\n </svg>\n }\n />\n );\n});\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/radio-button/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,EAAE,8BAA8B,EAAE,MAAM,kEAAkE,CAAC;AAGlH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,oBAAsC,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5F,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAM1D,eAAe,KAAK,CAAC,UAAU,CAAC,SAAS,WAAW,CAClD,EACE,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,OAAO,EACP,SAAS,EACT,cAAc,EACd,eAAe,EACf,WAAW,EACX,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,SAAS,EACT,KAAK,EACL,qBAAqB,EACrB,QAAQ,EACR,8BAA8B,EAC9B,GAAG,IAAI,EACkB,EAC3B,GAAgC;IAEhC,MAAM,cAAc,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;IACtD,MAAM,UAAU,GAAG,YAAY,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;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;YAChC,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,sBAAsB,CAAC,QAAQ,CAAC,CAAC;YACnC,CAAC;QACH,CAAC,EACD,aAAa,EACX,6BAAK,OAAO,EAAC,aAAa,EAAC,SAAS,EAAC,OAAO,iBAAa,MAAM;YAC7D,gCACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE;oBAC9C,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,QAAQ;oBAC5C,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,QAAQ;iBAC7C,CAAC,EACF,WAAW,EAAE,IAAI,EACjB,EAAE,EAAE,EAAE,EACN,EAAE,EAAE,EAAE,EACN,CAAC,EAAE,EAAE,EACL,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,GAC9D;YACF,gCACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE;oBAC5C,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,QAAQ;oBAC5C,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,OAAO;oBAC1C,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,QAAQ;iBAC7C,CAAC,EACF,WAAW,EAAE,EAAE,EACf,EAAE,EAAE,EAAE,EACN,EAAE,EAAE,EAAE,EACN,CAAC,EAAE,EAAE,EACL,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,GAC9D,CACE,GAER,CACH,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs } from '@cloudscape-design/component-toolkit/internal';\nimport { useSingleTabStopNavigation } from '@cloudscape-design/component-toolkit/internal';\nimport { copyAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { RadioButtonProps } from '../../../radio-button/interfaces';\nimport { getBaseProps } from '../../base-component';\nimport AbstractSwitch from '../../components/abstract-switch';\nimport { fireNonCancelableEvent } from '../../events';\nimport { InternalBaseComponentProps } from '../../hooks/use-base-component';\nimport WithNativeAttributes, { SkipWarnings } from '../../utils/with-native-attributes';\nimport { getAbstractSwitchStyles, getInnerCircleStyle, getOuterCircleStyle } from './style';\n\nimport styles from './styles.css.js';\nimport testUtilStyles from './test-classes/styles.css.js';\n\nexport interface InternalRadioButtonProps extends RadioButtonProps, InternalBaseComponentProps {\n __skipNativeAttributesWarnings?: SkipWarnings;\n}\n\nexport default React.forwardRef(function RadioButton(\n {\n name,\n children,\n value,\n checked,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n description,\n disabled,\n controlId,\n readOnly,\n className,\n style,\n nativeInputAttributes,\n onSelect,\n __skipNativeAttributesWarnings,\n ...rest\n }: InternalRadioButtonProps,\n ref: React.Ref<HTMLInputElement>\n) {\n const radioButtonRef = useRef<HTMLInputElement>(null);\n const mergedRefs = useMergeRefs(radioButtonRef, ref);\n\n const { tabIndex } = useSingleTabStopNavigation(radioButtonRef);\n const baseProps = getBaseProps(rest);\n\n return (\n <AbstractSwitch\n {...baseProps}\n className={clsx(testUtilStyles.root, className)}\n controlClassName={styles['radio-control']}\n outlineClassName={styles.outline}\n label={children}\n ariaLabel={ariaLabel}\n ariaLabelledby={ariaLabelledby}\n ariaDescribedby={ariaDescribedby}\n description={description}\n disabled={disabled}\n readOnly={readOnly}\n controlId={controlId}\n style={getAbstractSwitchStyles(style, checked, disabled, readOnly)}\n __internalRootRef={rest.__internalRootRef}\n {...copyAnalyticsMetadataAttribute(rest)}\n nativeControl={nativeControlProps => (\n <WithNativeAttributes<HTMLInputElement, React.InputHTMLAttributes<HTMLInputElement>>\n {...nativeControlProps}\n tag=\"input\"\n componentName=\"RadioButton\"\n nativeAttributes={nativeInputAttributes}\n skipWarnings={__skipNativeAttributesWarnings}\n tabIndex={tabIndex}\n type=\"radio\"\n ref={mergedRefs}\n name={name}\n value={value}\n checked={checked}\n aria-disabled={readOnly && !disabled ? 'true' : undefined}\n // empty handler to suppress React controllability warning\n onChange={() => {}}\n />\n )}\n onClick={() => {\n radioButtonRef.current?.focus();\n if (!checked) {\n fireNonCancelableEvent(onSelect);\n }\n }}\n styledControl={\n <svg viewBox=\"0 0 100 100\" focusable=\"false\" aria-hidden=\"true\">\n <circle\n className={clsx(styles['styled-circle-border'], {\n [styles['styled-circle-disabled']]: disabled,\n [styles['styled-circle-readonly']]: readOnly,\n })}\n strokeWidth={6.25}\n cx={50}\n cy={50}\n r={46}\n style={getOuterCircleStyle(style, checked, disabled, readOnly)}\n />\n <circle\n className={clsx(styles['styled-circle-fill'], {\n [styles['styled-circle-disabled']]: disabled,\n [styles['styled-circle-checked']]: checked,\n [styles['styled-circle-readonly']]: readOnly,\n })}\n strokeWidth={30}\n cx={50}\n cy={50}\n r={35}\n style={getInnerCircleStyle(style, checked, disabled, readOnly)}\n />\n </svg>\n }\n />\n );\n});\n"]}
|
package/internal/environment.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export var PACKAGE_SOURCE = "components";
|
|
2
|
-
export var PACKAGE_VERSION = "3.0.0 (
|
|
3
|
-
export var GIT_SHA = "
|
|
2
|
+
export var PACKAGE_VERSION = "3.0.0 (3ac674ad)";
|
|
3
|
+
export var GIT_SHA = "3ac674ad";
|
|
4
4
|
export var THEME = "open-source-visual-refresh";
|
|
5
5
|
export var SYSTEM = "core";
|
|
6
6
|
export var ALWAYS_VISUAL_REFRESH = true;
|
package/internal/manifest.json
CHANGED
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -112,6 +112,12 @@
|
|
|
112
112
|
"./status-indicator": "./status-indicator/index.js",
|
|
113
113
|
"./steps": "./steps/index.js",
|
|
114
114
|
"./table": "./table/index.js",
|
|
115
|
+
"./table-body": "./table-body/index.js",
|
|
116
|
+
"./table-body-cell": "./table-body-cell/index.js",
|
|
117
|
+
"./table-head": "./table-head/index.js",
|
|
118
|
+
"./table-header-cell": "./table-header-cell/index.js",
|
|
119
|
+
"./table-root": "./table-root/index.js",
|
|
120
|
+
"./table-row": "./table-row/index.js",
|
|
115
121
|
"./tabs": "./tabs/index.js",
|
|
116
122
|
"./tag-editor": "./tag-editor/index.js",
|
|
117
123
|
"./text-content": "./text-content/index.js",
|
|
@@ -285,6 +291,18 @@
|
|
|
285
291
|
"./test-utils/selectors/steps": "./test-utils/selectors/steps/index.js",
|
|
286
292
|
"./test-utils/dom/table": "./test-utils/dom/table/index.js",
|
|
287
293
|
"./test-utils/selectors/table": "./test-utils/selectors/table/index.js",
|
|
294
|
+
"./test-utils/dom/table-body": "./test-utils/dom/table-body/index.js",
|
|
295
|
+
"./test-utils/selectors/table-body": "./test-utils/selectors/table-body/index.js",
|
|
296
|
+
"./test-utils/dom/table-body-cell": "./test-utils/dom/table-body-cell/index.js",
|
|
297
|
+
"./test-utils/selectors/table-body-cell": "./test-utils/selectors/table-body-cell/index.js",
|
|
298
|
+
"./test-utils/dom/table-head": "./test-utils/dom/table-head/index.js",
|
|
299
|
+
"./test-utils/selectors/table-head": "./test-utils/selectors/table-head/index.js",
|
|
300
|
+
"./test-utils/dom/table-header-cell": "./test-utils/dom/table-header-cell/index.js",
|
|
301
|
+
"./test-utils/selectors/table-header-cell": "./test-utils/selectors/table-header-cell/index.js",
|
|
302
|
+
"./test-utils/dom/table-root": "./test-utils/dom/table-root/index.js",
|
|
303
|
+
"./test-utils/selectors/table-root": "./test-utils/selectors/table-root/index.js",
|
|
304
|
+
"./test-utils/dom/table-row": "./test-utils/dom/table-row/index.js",
|
|
305
|
+
"./test-utils/selectors/table-row": "./test-utils/selectors/table-row/index.js",
|
|
288
306
|
"./test-utils/dom/tabs": "./test-utils/dom/tabs/index.js",
|
|
289
307
|
"./test-utils/selectors/tabs": "./test-utils/selectors/tabs/index.js",
|
|
290
308
|
"./test-utils/dom/tag-editor": "./test-utils/dom/tag-editor/index.js",
|
|
@@ -359,7 +377,7 @@
|
|
|
359
377
|
"./internal/base-theme/styles.css.js",
|
|
360
378
|
"./internal/base-component/styles.css.js"
|
|
361
379
|
],
|
|
362
|
-
"version": "3.0.
|
|
380
|
+
"version": "3.0.1388",
|
|
363
381
|
"repository": {
|
|
364
382
|
"type": "git",
|
|
365
383
|
"url": "https://github.com/cloudscape-design/components.git"
|
|
@@ -10,6 +10,20 @@ export interface RadioButtonProps extends BaseComponentProps {
|
|
|
10
10
|
* Specifies if the component is selected.
|
|
11
11
|
*/
|
|
12
12
|
checked: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Adds an `aria-label` to the native control.
|
|
15
|
+
*
|
|
16
|
+
* Use this if you don't have a visible label for this control.
|
|
17
|
+
*/
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Adds `aria-labelledby` to the native control.
|
|
21
|
+
*/
|
|
22
|
+
ariaLabelledby?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Adds `aria-describedby` to the native control.
|
|
25
|
+
*/
|
|
26
|
+
ariaDescribedby?: string;
|
|
13
27
|
/**
|
|
14
28
|
* Specifies the ID of the native form element. You can use it to relate
|
|
15
29
|
* a label element's `for` attribute to this control.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/radio-button/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB;IAC1D;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BACL,OAAO,CAAC,EAAE,MAAM,CAAC;oBACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;oBAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;iBACnB,CAAC;aACH,CAAC;YACF,SAAS,CAAC,EAAE;gBACV,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;SACH,CAAC;QACF,KAAK,CAAC,EAAE;YACN,KAAK,CAAC,EAAE;gBACN,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;SACH,CAAC;QACF,WAAW,CAAC,EAAE;YACZ,KAAK,CAAC,EAAE;gBACN,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;SACH,CAAC;KACH;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/radio-button/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../types/base-component';\nimport { NonCancelableEventHandler } from '../types/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../types/native-attributes';\n\nexport interface RadioButtonProps extends BaseComponentProps {\n /**\n * Specifies if the component is selected.\n */\n checked: boolean;\n\n /**\n * Specifies the ID of the native form element. You can use it to relate\n * a label element's `for` attribute to this control.\n */\n controlId?: string;\n\n /**\n * Name of the group that the radio button belongs to.\n */\n name: string;\n\n /**\n * Description that appears below the label.\n */\n description?: React.ReactNode;\n\n /**\n * Specifies if the control is disabled, which prevents the\n * user from modifying the value and prevents the value from\n * being included in a form submission. A disabled control can't\n * receive focus.\n */\n disabled?: boolean;\n\n /**\n * The control's label that's displayed next to the radio button. A state change occurs when a user clicks on it.\n * @displayname label\n */\n children?: React.ReactNode;\n\n /**\n * Attributes to add to the native `input` element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeInputAttributes?: NativeAttributes<React.InputHTMLAttributes<HTMLInputElement>>;\n\n /**\n * Called when the user clicks on the radio button and it is not disabled or read-only.\n */\n onSelect?: NonCancelableEventHandler;\n\n /**\n * Specifies if the radio button is read-only, which prevents the\n * user from modifying the value, but does not prevent the value from\n * being included in a form submission. A read-only control is still focusable.\n *\n * This property should be set for either all or none of the radio buttons in a group.\n */\n readOnly?: boolean;\n\n /**\n * An object containing CSS properties to customize the radio button's visual appearance.\n * Refer to the [style](/components/radio-button/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: RadioButtonProps.Style;\n\n /**\n * Sets the value attribute to the native control.\n * If using native form submission, this value is sent to the server if the radio button is checked.\n * It is never shown to the user by their user agent.\n * For more details, see the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/radio#value).\n */\n value?: string;\n}\n\nexport namespace RadioButtonProps {\n export interface ChangeDetail {\n checked: boolean;\n }\n\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n }\n\n export interface Style {\n input?: {\n fill?: {\n checked?: string;\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n stroke?: {\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n circle?: {\n fill?: {\n checked?: string;\n disabled?: string;\n readOnly?: string;\n };\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n label?: {\n color?: {\n checked?: string;\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n };\n description?: {\n color?: {\n checked?: string;\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/radio-button/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../types/base-component';\nimport { NonCancelableEventHandler } from '../types/events';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../types/native-attributes';\n\nexport interface RadioButtonProps extends BaseComponentProps {\n /**\n * Specifies if the component is selected.\n */\n checked: boolean;\n\n /**\n * Adds an `aria-label` to the native control.\n *\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n\n /**\n * Adds `aria-labelledby` to the native control.\n */\n ariaLabelledby?: string;\n\n /**\n * Adds `aria-describedby` to the native control.\n */\n ariaDescribedby?: string;\n\n /**\n * Specifies the ID of the native form element. You can use it to relate\n * a label element's `for` attribute to this control.\n */\n controlId?: string;\n\n /**\n * Name of the group that the radio button belongs to.\n */\n name: string;\n\n /**\n * Description that appears below the label.\n */\n description?: React.ReactNode;\n\n /**\n * Specifies if the control is disabled, which prevents the\n * user from modifying the value and prevents the value from\n * being included in a form submission. A disabled control can't\n * receive focus.\n */\n disabled?: boolean;\n\n /**\n * The control's label that's displayed next to the radio button. A state change occurs when a user clicks on it.\n * @displayname label\n */\n children?: React.ReactNode;\n\n /**\n * Attributes to add to the native `input` element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeInputAttributes?: NativeAttributes<React.InputHTMLAttributes<HTMLInputElement>>;\n\n /**\n * Called when the user clicks on the radio button and it is not disabled or read-only.\n */\n onSelect?: NonCancelableEventHandler;\n\n /**\n * Specifies if the radio button is read-only, which prevents the\n * user from modifying the value, but does not prevent the value from\n * being included in a form submission. A read-only control is still focusable.\n *\n * This property should be set for either all or none of the radio buttons in a group.\n */\n readOnly?: boolean;\n\n /**\n * An object containing CSS properties to customize the radio button's visual appearance.\n * Refer to the [style](/components/radio-button/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: RadioButtonProps.Style;\n\n /**\n * Sets the value attribute to the native control.\n * If using native form submission, this value is sent to the server if the radio button is checked.\n * It is never shown to the user by their user agent.\n * For more details, see the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/radio#value).\n */\n value?: string;\n}\n\nexport namespace RadioButtonProps {\n export interface ChangeDetail {\n checked: boolean;\n }\n\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n }\n\n export interface Style {\n input?: {\n fill?: {\n checked?: string;\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n stroke?: {\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n circle?: {\n fill?: {\n checked?: string;\n disabled?: string;\n readOnly?: string;\n };\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n label?: {\n color?: {\n checked?: string;\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n };\n description?: {\n color?: {\n checked?: string;\n default?: string;\n disabled?: string;\n readOnly?: string;\n };\n };\n }\n}\n"]}
|
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"expandable-toggle-wrapper": "awsui_expandable-toggle-
|
|
5
|
-
"body-cell": "awsui_body-
|
|
6
|
-
"body-cell-content": "awsui_body-cell-
|
|
7
|
-
"
|
|
8
|
-
"expandable-level-
|
|
9
|
-
"expandable-level-
|
|
10
|
-
"expandable-level-
|
|
11
|
-
"expandable-level-
|
|
12
|
-
"expandable-level-
|
|
13
|
-
"expandable-level-
|
|
14
|
-
"expandable-level-
|
|
15
|
-
"expandable-level-
|
|
16
|
-
"expandable-level-
|
|
17
|
-
"expandable-level-
|
|
18
|
-
"
|
|
19
|
-
"body-cell-
|
|
20
|
-
"body-cell-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"body-cell-
|
|
24
|
-
"body-cell-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"sticky-cell-last-inline-
|
|
35
|
-
"
|
|
36
|
-
"body-cell-
|
|
37
|
-
"body-cell-
|
|
38
|
-
"body-cell-
|
|
39
|
-
"body-cell-
|
|
40
|
-
"body-cell-editor
|
|
41
|
-
"body-cell-editor-
|
|
42
|
-
"body-cell-editor-
|
|
43
|
-
"body-cell-editor-
|
|
44
|
-
"body-cell-editor-
|
|
45
|
-
"body-cell-editor-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"body-cell-
|
|
4
|
+
"expandable-toggle-wrapper": "awsui_expandable-toggle-wrapper_c6tup_1pyll_9",
|
|
5
|
+
"body-cell": "awsui_body-cell_c6tup_1pyll_16",
|
|
6
|
+
"body-cell-content": "awsui_body-cell-content_c6tup_1pyll_24",
|
|
7
|
+
"with-paddings": "awsui_with-paddings_c6tup_1pyll_24",
|
|
8
|
+
"expandable-level-0": "awsui_expandable-level-0_c6tup_1pyll_30",
|
|
9
|
+
"expandable-level-1": "awsui_expandable-level-1_c6tup_1pyll_37",
|
|
10
|
+
"expandable-level-2": "awsui_expandable-level-2_c6tup_1pyll_44",
|
|
11
|
+
"expandable-level-3": "awsui_expandable-level-3_c6tup_1pyll_51",
|
|
12
|
+
"expandable-level-4": "awsui_expandable-level-4_c6tup_1pyll_58",
|
|
13
|
+
"expandable-level-5": "awsui_expandable-level-5_c6tup_1pyll_65",
|
|
14
|
+
"expandable-level-6": "awsui_expandable-level-6_c6tup_1pyll_72",
|
|
15
|
+
"expandable-level-7": "awsui_expandable-level-7_c6tup_1pyll_79",
|
|
16
|
+
"expandable-level-8": "awsui_expandable-level-8_c6tup_1pyll_86",
|
|
17
|
+
"expandable-level-9": "awsui_expandable-level-9_c6tup_1pyll_93",
|
|
18
|
+
"expandable-level-next": "awsui_expandable-level-next_c6tup_1pyll_100",
|
|
19
|
+
"body-cell-align-top": "awsui_body-cell-align-top_c6tup_1pyll_118",
|
|
20
|
+
"body-cell-wrap": "awsui_body-cell-wrap_c6tup_1pyll_124",
|
|
21
|
+
"body-cell-counter": "awsui_body-cell-counter_c6tup_1pyll_129",
|
|
22
|
+
"is-visual-refresh": "awsui_is-visual-refresh_c6tup_1pyll_227",
|
|
23
|
+
"body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_1pyll_317",
|
|
24
|
+
"body-cell-expandable": "awsui_body-cell-expandable_c6tup_1pyll_317",
|
|
25
|
+
"body-cell-editable": "awsui_body-cell-editable_c6tup_1pyll_317",
|
|
26
|
+
"has-striped-rows": "awsui_has-striped-rows_c6tup_1pyll_400",
|
|
27
|
+
"sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_c6tup_1pyll_566",
|
|
28
|
+
"has-selection": "awsui_has-selection_c6tup_1pyll_732",
|
|
29
|
+
"body-cell-selected": "awsui_body-cell-selected_c6tup_1pyll_901",
|
|
30
|
+
"has-footer": "awsui_has-footer_c6tup_1pyll_904",
|
|
31
|
+
"body-cell-shaded": "awsui_body-cell-shaded_c6tup_1pyll_914",
|
|
32
|
+
"sticky-cell": "awsui_sticky-cell_c6tup_1pyll_566",
|
|
33
|
+
"table-variant-full-page": "awsui_table-variant-full-page_c6tup_1pyll_965",
|
|
34
|
+
"sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_c6tup_1pyll_982",
|
|
35
|
+
"sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_c6tup_1pyll_991",
|
|
36
|
+
"body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_1pyll_1013",
|
|
37
|
+
"body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_1pyll_1020",
|
|
38
|
+
"body-cell-editor-wrapper": "awsui_body-cell-editor-wrapper_c6tup_1pyll_1046",
|
|
39
|
+
"body-cell-success": "awsui_body-cell-success_c6tup_1pyll_1051",
|
|
40
|
+
"body-cell-editor": "awsui_body-cell-editor_c6tup_1pyll_1046",
|
|
41
|
+
"body-cell-editor-disabled": "awsui_body-cell-editor-disabled_c6tup_1pyll_1076",
|
|
42
|
+
"body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_1pyll_1085",
|
|
43
|
+
"body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_1pyll_1095",
|
|
44
|
+
"body-cell-editor-row-editor": "awsui_body-cell-editor-row-editor_c6tup_1pyll_1098",
|
|
45
|
+
"body-cell-editor-focusable": "awsui_body-cell-editor-focusable_c6tup_1pyll_1101",
|
|
46
|
+
"body-cell-editor-icon": "awsui_body-cell-editor-icon_c6tup_1pyll_1125",
|
|
47
|
+
"resizable-columns": "awsui_resizable-columns_c6tup_1pyll_1237",
|
|
48
|
+
"expandable-cell-content": "awsui_expandable-cell-content_c6tup_1pyll_1240",
|
|
49
|
+
"body-cell-edit-disabled-popover": "awsui_body-cell-edit-disabled-popover_c6tup_1pyll_1291",
|
|
50
|
+
"body-cell-has-success": "awsui_body-cell-has-success_c6tup_1pyll_1294"
|
|
50
51
|
};
|
|
51
52
|
|