Skip to content

Commit

Permalink
Revert "Update dependencies April 2024 (#2049)"
Browse files Browse the repository at this point in the history
This reverts commit dcd30a0.
  • Loading branch information
rajsite committed Apr 30, 2024
1 parent dcd30a0 commit 5e34e11
Show file tree
Hide file tree
Showing 15 changed files with 2,723 additions and 1,325 deletions.

This file was deleted.

4,001 changes: 2,703 additions & 1,298 deletions package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const _banner: StoryObj<BannerArgs> = {
toggle: {
description:
'Event emitted by the banner when the `open` state changes. The event details include the booleans `oldState` and `newState`.',
control: false
control: { type: 'none' }
}
},
args: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ ${tokenContent}
See the "Tokens/Label Providers" docs page for more information.
`,
control: false
control: { type: 'none' }
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@ export const iconMapping: StoryObj = {
argTypes: {
key: {
description: mappingKeyDescription('the mapped icon'),
control: false
control: { type: 'none' }
},
icon: {
control: false,
control: { type: 'none' },
description: `The tag name of the Nimble icon to render, e.g. \`nimble-icon-check\`. Alternatively, set \`icon\` to \`undefined\` to render
no icon for the mapping while still providing a label to be used when grouping. Space will always be reserved for the icon so
that the text in cells and group rows associated with icon mappings will always be aligned.`
},
severity: {
control: false,
control: { type: 'none' },
description:
'Must be one of the values in the `IconSeverity` enum. Controls the color of the icon.'
},
text: {
control: false,
control: { type: 'none' },
description: `A textual description of the value. The text will be displayed next to the icon in a cell if \`text-hidden\` is not set,
or as the tooltip and accessible name of the icon if \`text-hidden\` is set. The text is also displayed next to the icon
in a group header. This attribute is required.`
},
textHidden: {
control: false,
control: { type: 'none' },
name: 'text-hidden',
description:
"When set, the text is hidden within the table's cells. When unset, the text is rendered next to the icon within the cell."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ export const spinnerMapping: StoryObj = {
argTypes: {
key: {
description: mappingKeyDescription('a spinner'),
control: false
control: { type: 'none' }
},
text: {
control: false,
control: { type: 'none' },
description: `A textual description of the value. The text will be displayed next to the spinner in a cell if \`text-hidden\` is not set,
or as the tooltip and accessible name of the spinner if \`text-hidden\` is set. The text is also displayed next to the spinner
in a group header. This attribute is required.`
},
textHidden: {
control: false,
control: { type: 'none' },
name: 'text-hidden',
description:
"When set, the text is hidden within the table's cells. When unset, the text is rendered next to the spinner within the cell."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const textMapping: StoryObj = {
argTypes: {
key: {
description: mappingKeyDescription('the mapped display text'),
control: false
control: { type: 'none' }
},
text: {
description: 'The display text.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const userMapping: StoryObj = {
argTypes: {
key: {
description: 'A key (url) for each user that maps to a user',
control: false
control: { type: 'none' }
},
displayName: {
name: 'display-name',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const richTextMentionUsers: StoryObj = {
argTypes: {
pattern: {
description: patternDescription,
control: false
control: { type: 'none' }
},
checkValidity: {
name: 'checkValidity()',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const anchorColumn: StoryObj<AnchorColumnTableArgs> = {
name: 'href-field-name',
description:
'Set this attribute to identify which field in the data record contains the link url for each cell in the column. If the field is not defined in a particular record, that cell will be displayed as plain text instead of a link. The field values must be of type `string`.',
control: false
control: { type: 'none' }
},
appearance: {
options: Object.keys(AnchorAppearance),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export const dateTextColumn: StoryObj<TextColumnTableArgs> = {
name: 'field-name',
description:
'Set this attribute to identify which field in the data record should be displayed in each column. The field values must be of type `number` and represent the number of milliseconds since January 1, 1970 UTC. This is the representation used by the `Date` type.',
control: false
control: { type: 'none' }
},
placeholder: {
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const durationTextColumn: StoryObj<TextColumnTableArgs> = {
name: 'field-name',
description:
'Set this attribute to identify which field in the data record should be displayed in each column. The field values must be of type `number` and represent a total number of milliseconds.',
control: false
control: { type: 'none' }
},
placeholder: {
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ export const iconColumn: StoryObj<IconColumnTableArgs> = {
name: 'field-name',
description:
"Set this attribute to identify which field in the data record contains the value for each cell in the column. The field values' type must match the type specified by the `key-type` attribute.",
control: false
control: { type: 'none' }
},
keyType: {
name: 'key-type',
control: false,
control: { type: 'none' },
defaultValue: { summary: '"string"' },
description:
'The data type of the key values used for this column. Must be one of `"string"`, `"number"`, or `"boolean"`. Defaults to `"string"` if unspecified.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const numberTextColumn: StoryObj<NumberTextColumnTableArgs> = {
name: 'field-name',
description:
'Set this attribute to identify which field in the data record should be displayed in each column. The field values must be of type `number`.',
control: false
control: { type: 'none' }
},
placeholder: {
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ const metadata: Meta<TableArgs> = {
}
},
status: {
options: [...statusOptions],
options: statusOptions,
control: {
type: 'radio'
}
Expand Down

0 comments on commit 5e34e11

Please sign in to comment.