Commit graph

552 commits

Author SHA1 Message Date
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
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
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
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
46056f2d82 chore: use v11 styles for docs 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
Eric Liu
b00ccc1d92
chore(deps-dev): upgrade svelte to v4.2.0 (#1804) 2023-09-01 17:42:32 -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
Eric Liu
51c281de4a
feat(file-uploader): add size prop to FileUploaderButton (#1786) 2023-07-24 06:33:53 -07:00
Eric Liu
709322c281
feat(file-uploader-button): support danger-tertiary, danger-ghost button variants (#1784) 2023-07-23 14:34:08 -07:00
Eric Liu
d6804b44fe
fix(loading)!: remove redundant description label (#1783)
Fixes #1670
2023-07-23 14:07:55 -07:00
Eric Liu
a7443c2dca
fix(types): correctly type kind prop in FileUploader, FileUploaderButton (#1781) 2023-07-23 12:42:33 -07:00
dependabot[bot]
65dcd9c286
build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /docs (#1772)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 12:26:53 -07:00
Eric Liu
be763706ca
fix(types): improve formatting of prop comments (#1779) 2023-07-23 12:25:44 -07:00
Eric Liu
239f1b10e5
feat(file-uploader): make labelTitle, labelDescription slottable (#1780) 2023-07-23 12:25:31 -07:00
Eric Liu
baff07e012
feat(slider): add hideLabel prop (#1777)
Closes #1682

Co-authored-by: siaikin <abc1310054026@outlook.com>
2023-07-23 12:04:39 -07:00
Eric Liu
2f026f792a
feat(typescript)!: support svelte 4 (#1773)
Closes #1753 

The minimum Svelte version required for TypeScript users is now 3.55.
2023-07-19 09:44:56 -07:00
Eric Liu
7885e124b4 chore(types): fix formatting of prop comments in Header, SideNav 2023-07-13 10:52:52 -07:00
Eric Liu
2715ed9c38 chore(ui-shell): update company prop description in Header (#1770) 2023-07-13 10:50:51 -07:00
Nestor Orest Plysyuk
ea9b261b60
feat(ui-shell): add preventCloseOnClickOutside to HeaderAction (#1625)
Closes #1624
2023-07-13 07:37:21 -07:00
Janos Lengyel
9b3f014a0b
feat(ui-shell): make company in Header slottable (#1764) 2023-07-13 07:33:48 -07:00
dependabot[bot]
5ffab3d2e6
build(deps): bump semver from 5.7.1 to 5.7.2 in /docs (#1766)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 08:13:46 -07:00