Commit graph

1895 commits

Author SHA1 Message Date
Enrico Sacchetti
21847da207 chore: add individual theme css 2024-01-10 15:49:10 -05:00
Enrico Sacchetti
fc0d37cf33 chore: set up all component styles, fonts, and themes
- Adapt documentation to new styles
2024-01-10 15:32:56 -05:00
Enrico Sacchetti
23d4bdec4e build: switch to npm 2024-01-09 11:25:31 -05:00
Enrico Sacchetti
465f35c0f3 chore: use cds class prefix in v11 styles 2024-01-08 16:17:27 -05:00
Enrico Sacchetti
bebf22029f docs: add truncate mixins 2024-01-04 22:49:51 -05:00
Enrico Sacchetti
0aa38ec81a chore: use truncate mixins 2024-01-04 22:49:40 -05:00
Enrico Sacchetti
b63a076059 Revert "chore: remove Truncate since it does not exist in Carbon v11"
This reverts commit 5833536199.
2024-01-04 13:41:08 -05:00
Gregor Wassmann
b4802196f0
tmp: v11 PopoverContent 2024-01-03 16:53:14 -05:00
Gregor Wassmann
9e4be999e8
chore: v11 Accordion
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2024-01-03 16:07:09 -05:00
Gregor Wassmann
068f00b723
chore: v11 UIShell 2024-01-03 16:07:09 -05:00
Gregor Wassmann
5833536199
chore: remove Truncate since it does not exist in Carbon v11 2024-01-03 16:07:08 -05:00
Gregor Wassmann
90a0baf676
chore: v11 TreeView
Size `compact` changed to `xs`. For better compatibility with existing codebases size `compact` is still supported.
2024-01-03 15:59:51 -05:00
Gregor Wassmann
b20fc59e75
chore: v11 TimePicker
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2024-01-03 11:39:24 -05:00
Gregor Wassmann
9285c72a50
chore: v11 TextInput
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2024-01-03 11:39:23 -05:00
Gregor Wassmann
2ca2833945
chore: v11 TextArea
`cols` no longer has a defaults to 50 but remains at 100% width by default.
2024-01-03 11:39:23 -05:00
Gregor Wassmann
b279d14292
chore: v11 AspectRatio
The `bx--aspect-ratio--object` class is gone and needs to be replaced manually.
2024-01-03 11:39:23 -05:00
Gregor Wassmann
a3f577bea3
chore: v11 Select
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2024-01-03 11:39:23 -05:00
Gregor Wassmann
019f9773a8
chore: v11 Search 2024-01-03 11:39:06 -05:00
Gregor Wassmann
a583453436
chore: v11 PasswordInput
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2024-01-03 11:28:42 -05:00
Gregor Wassmann
ff8d54b38e
chore: v11 OverflowMenu
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2024-01-03 11:28:40 -05:00
Gregor Wassmann
9f32d57353
chore: v11 NumberInput
For better compatibility with existing codebases size `xl` is still supported.
2024-01-03 11:14:36 -05:00
Gregor Wassmann
c23782b161
chore: v11 MultiSelect
Size `xl` changed to `lg`.
2024-01-03 11:14:33 -05:00
Gregor Wassmann
9a0a790e19
chore: v11 Toggle
This removes legacy `ToggleSkeleton`.
2024-01-03 10:51:05 -05:00
Gregor Wassmann
85bbaed3e2
chore: v11 FileUploader
For better compatibility with existing codebases sizes `field` and `small` are still supported. Note that flagship implementation does the same thing.
2024-01-02 16:45:39 -05:00
Gregor Wassmann
ee55f2ba36
chore: v11 ExpandableTile
Note that state labels `tileCollapsedLabel` and `tileExpandedLabel` are no longer supported.
2024-01-02 16:45:37 -05:00
Gregor Wassmann
6be8d3f7d9
chore: v11 Dropdown
For better compatibility with existing codebases size xl is still supported.
2024-01-02 15:56:20 -05:00
Gregor Wassmann
6203e1d699
chore: v11 DatePicker
For better compatibility with existing codebases size xl is still supported.
2024-01-02 15:56:19 -05:00
Gregor Wassmann
e1bd0aaa99
chore: remove legacy v10 css files
Note that further work is needed here in order to make theming work again.
Also documentation needs updating.
2024-01-02 15:56:17 -05:00
Gregor Wassmann
ee32859ba2
chore: v11 ContentSwitcher
For better compatibility with existing code bases size `xl` is still supported.
2024-01-02 15:55:43 -05:00
Gregor Wassmann
8cf61bd0f7
chore: v11 ComboBox
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
2024-01-02 15:45:03 -05:00
Gregor Wassmann
cafa258896
dependency: @carbon/styles update 2024-01-02 15:45:01 -05:00
Gregor Wassmann
96805c2aa1
chore: v11 Button 2024-01-02 15:12:53 -05:00
Gregor Wassmann
d649fd3884
chore: use @ibm/plex fonts 2024-01-02 15:12:21 -05:00
Gregor Wassmann
1628f56184
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.
2024-01-02 15:12:18 -05:00
Gregor Wassmann
7f84c57cb9
chore: keep flex-grid instead of css grid for the moment
Upgrading to css-grid should be separate.
2024-01-02 15:02:45 -05:00
Gregor Wassmann
789a200349
chore: migrate type tokens to v11
See https://github.com/carbon-design-system/carbon/blob/main/docs/migration/v11.md#type-tokens
2024-01-02 15:02:44 -05:00
Gregor Wassmann
f70c7d5139
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
2024-01-02 15:02:33 -05:00
Gregor Wassmann
f4ac33c93a
chore: stick to bx instead of cds class prefix 2024-01-02 15:01:58 -05:00
Gregor Wassmann
8d5bf359a9
chore: use v11 styles for docs 2024-01-02 15:00:45 -05:00
Gregor Wassmann
8b982d617d
chore: depend on @carbon/styles instead of carbon-components
See upgrade guide here: https://carbondesignsystem.com/migrating/guide/develop
2024-01-02 14:56:26 -05:00
metonym
1600775968
style(docs): color-scheme reflects theme (#1874) 2023-12-30 10:35:44 -08:00
Eric Liu
fe0b0c2b18 v0.82.7 2023-12-17 09:45:39 -08:00
metonym
479225711a
fix(radio-button): allow value type to be a number (#1868) 2023-12-17 09:42:28 -08:00
Eric Liu
1d82eb67a0 v0.82.6 2023-12-16 17:43:52 -08:00
metonym
053beeef7c
fix(package): include types in exports map (#1865)
Fixes #1863
2023-12-16 17:42:57 -08:00
metonym
42519690b7 chore(docs): upgrade deps
Modernize the docs set-up to use Vite 5 so that the exports map works.
2023-12-16 14:06:46 -08:00
metonym
64b39be524 chore(examples): bump deps 2023-12-16 13:39:25 -08:00
Eric Liu
2dde45a831 v0.82.5 2023-12-16 09:24:44 -08:00
Hyunseung
7bef3fae62
chore: add exports field to package.json (#1864)
Add an `exports` field to resolve a Vite development warning. The `package.json#svelte` entry field is deprecated and will eventually no longer be used.
2023-12-16 09:19:57 -08:00
Eric Liu
292881dc3e chore: remove types/README.md [ci skip]
Avoid publishing this file as part of the package since this is not relevant to consumers of the library.
2023-12-07 19:08:00 -08:00