Commit graph

1845 commits

Author SHA1 Message Date
Gregor Wassmann
e00c956a66 feat(v11): Tooltip
Refactor `Tooltip` to use `Popover` component internally.

**Breaking changes**

- `direction` is replaced by additional `align` options.
- `hideIcon` property is removed.

**Limitations**

- The reference implementaiton uses the trigger content instead of the tooltip content as primary slot. This is not considered in this refactoring since it would be too big of a change.
- Instead of `TooltipFooter` a new `Toggletip` component would be required which is not included in this patch.
2023-10-07 16:44:24 +02:00
Gregor Wassmann
3350a412da feat(v11): TooltipDefinition
In v11 the definintion tooltip uses the `Popover` component internally. While the component is called `DefinitionTooltip` in the reference implementation, it is not renamed at this point.

- rename `tooltipText` to `definition`
- rename `tooltip` slot to `definition`
- remove `direction` (see `align`)
- use `align` values from `Popover` and set to `bottom-left` as default instead of `center`
2023-10-07 14:07:57 +02:00
Gregor Wassmann
d139d19524 feat(v11): Popover
* Breaking changes *

- The `Popover` now uses a different markup. The trigger becomes a child of the component.
- The new `PopoverContent` becomes an additional child of the `Popover` component.
- remove `relative` property
2023-10-07 14:07:51 +02:00
Gregor Wassmann
baf33c0505 chore: v11 Accordion
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:27 +02:00
Gregor Wassmann
630ef85a06 chore: v11 UIShell 2023-10-07 12:24:27 +02:00
Gregor Wassmann
9c680c5f20 chore: remove Truncate since it does not exist in Carbon v11 2023-10-07 12:24:27 +02:00
Gregor Wassmann
2df821512f chore: v11 TreeView
Size `compact` changed to `xs`. For better compatibility with existing codebases size `compact` is still supported.
2023-10-07 12:24:27 +02:00
Gregor Wassmann
68aa238621 chore: v11 TimePicker
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
6c39298911 chore: v11 TextInput
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
8ff8007f32 chore: v11 TextArea
`cols` no longer has a defaults to 50 but remains at 100% width by default.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
75b9921460 chore: v11 AspectRatio
The `bx--aspect-ratio--object` class is gone and needs to be replaced manually.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
d20a5a7f38 chore: v11 Select
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
27da0e691c chore: v11 Search 2023-10-07 12:24:26 +02:00
Gregor Wassmann
164ce79cb3 chore: v11 PasswordInput
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
70f8845885 chore: v11 OverflowMenu
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
53901ef5fa chore: v11 NumberInput
For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:26 +02:00
Gregor Wassmann
5221080309 chore: v11 MultiSelect
Size `xl` changed to `lg`.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
4f9de63831 chore: v11 Toggle
This removes legacy `ToggleSkeleton`.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
4be962c35d chore: v11 FileUploader
For better compatibility with existing codebases sizes `field` and `small` are still supported. Note that flagship implementation does the same thing.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
0a279bd8a6 chore: v11 ExpandableTile
Note that state labels `tileCollapsedLabel` and `tileExpandedLabel` are no longer supported.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
91d6b9376d chore: v11 Dropdown
For better compatibility with existing codebases size xl is still supported.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
a19f9506d4 chore: v11 DatePicker
For better compatibility with existing codebases size xl is still supported.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
b1d9b7cbb4 chore: remove legacy v10 css files
Note that further work is needed here in order to make theming work again.
Also documentation needs updating.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
e4a3187e0f chore: v11 ContentSwitcher
For better compatibility with existing code bases size `xl` is still supported.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
d168d2408a chore: v11 ComboBox
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2023-10-07 12:24:25 +02:00
Gregor Wassmann
70ebdd4e9e dependency: @carbon/styles update 2023-10-07 12:24:25 +02:00
Gregor Wassmann
a0089ef7a5 chore: v11 Button 2023-10-07 12:24:25 +02:00
Gregor Wassmann
8dabd3ee68 chore: use @ibm/plex fonts 2023-10-07 12:24:25 +02:00
Gregor Wassmann
c0aaeb2bb1 chore: v11 Tabs
In v11 [Tabs](https://carbondesignsystem.com/migrating/guide/design/#tabs-breaking) received some additional modifiers. In this commit we only want to make sure that the Svelte v10 tabs still work using v11 styles. This probably needs additional testing.
2023-10-07 12:24:23 +02:00
Gregor Wassmann
8c7e8882b2 chore: keep flex-grid instead of css grid for the moment
Upgrading to css-grid should be separate.
2023-10-07 12:20:28 +02:00
Gregor Wassmann
ad34a00f36 chore: migrate type tokens to v11
See https://github.com/carbon-design-system/carbon/blob/main/docs/migration/v11.md#type-tokens
2023-10-07 12:20:28 +02:00
Gregor Wassmann
b9dd241c57 chore: migrate layout spacing to v11
See [@carbon/layout](https://github.com/carbon-design-system/carbon/blob/main/docs/migration/v11.md#carbonlayout) migration guide:

    $layout-01 	Removed, use $spacing-05 instead
    $layout-02 	Removed, use $spacing-06 instead
    $layout-03 	Removed, use $spacing-07 instead
    $layout-04 	Removed, use $spacing-09 instead
    $layout-05 	Removed, use $spacing-10 instead
    $layout-06 	Removed, use $spacing-12 instead
    $layout-07 	Removed, use $spacing-13 instead
2023-10-07 12:20:26 +02:00
Gregor Wassmann
526c574dd2 chore: stick to bx instead of cds class prefix 2023-10-07 12:19:14 +02:00
Gregor Wassmann
d99e0a1f82 dev: deploy to carbon-components-svelte-v11.render.com 2023-10-07 12:17:25 +02:00
Gregor Wassmann
46056f2d82 chore: use v11 styles for docs 2023-10-07 12:17:25 +02:00
Gregor Wassmann
9843797443 chore: depend on @carbon/styles instead of carbon-components
See upgrade guide here: https://carbondesignsystem.com/migrating/guide/develop
2023-10-07 12:17:25 +02:00
Eric Liu
06d81ddbff
fix(radio-button-group): strongly type dispatched change/select events (#1819) 2023-10-03 11:23:17 -07:00
Eric Liu
836b360b9b
fix(tile-group): add name and required props (#1818) 2023-10-03 11:20:16 -07:00
Eric Liu
5ef4dc1a72
docs(radio-button): use name in examples (#1817) 2023-10-03 09:34:01 -04:00
Alex Rock
9456eaab3c
feat(data-table): pass row to display function (#1810) 2023-10-01 10:19:13 -07:00
brunnerh
24e2a8874f
fix(radio-button-group): add name and required props (#1037)
Fixes #1036
2023-10-01 10:14:53 -07:00
Julián Perelli
108eb5286c
fix(file-uploader-button): clear value by setting to "" instead of null (#1812) 2023-09-30 08:41:14 -07:00
Alex Rock
aae2dd42aa
chore: update Git org name in README and CONTRIBUTING (#1811) 2023-09-27 08:48:04 -07:00
Eric Liu
b00ccc1d92
chore(deps-dev): upgrade svelte to v4.2.0 (#1804) 2023-09-01 17:42:32 -07:00
Eric Liu
9beca838a1 v0.80.0 2023-08-26 10:32:19 -07:00
Eric Liu
bc97ce5e1b
fix(skeleton-text): fix reactivity in paragraph variant (#1794)
Fixes #1793
2023-08-26 10:19:37 -07:00
Michael Greminger
e5675eb203
feat(ui-shell): forward click event to HeaderActionLink (#1797)
Closes #1796
2023-08-26 10:17:05 -07:00
Eric Liu
a1c7d9bd7c
docs(pictograms): update number of pictograms (#1787) 2023-07-27 12:26:53 -07:00
metonym
540521f5eb v0.79.0 2023-07-24 09:39:44 -07:00
Eric Liu
51c281de4a
feat(file-uploader): add size prop to FileUploaderButton (#1786) 2023-07-24 06:33:53 -07:00