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
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
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
526c574dd2
chore: stick to bx
instead of cds
class prefix
2023-10-07 12:19:14 +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
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
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
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
Eric Liu
bc7f5821b8
refactor: use style directive where applicable ( #1760 )
...
Closes #1604
2023-07-23 12:26:46 -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
7ef8b73252
fix(file-uploader): do not render empty element if labelTitle
, labelDescription
not provided ( #1778 )
...
Fixes #1775
2023-07-23 12:19:21 -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
Eric Liu
b015d76f15
chore(a11y): ignore svelte@4
a11y warnings ( #1769 )
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
Eric Liu
7579c032fa
fix(select): hide helperText
if invalid or warning state ( #1761 )
2023-07-08 11:29:05 -07:00