Commit graph

585 commits

Author SHA1 Message Date
Eric Liu
9ebf6963e0 docs(multi-select): improvements [ci skip] 2024-11-09 14:02:40 -08:00
Eric Liu
7923515279 chore(docs): add meta description 2024-11-09 11:26:59 -08:00
Eric Liu
da2d28a426 chore(docs): bump deps 2024-11-09 11:26:43 -08:00
metonym
ac38e9d353 docs: support CTRL+K to trigger docs search 2024-11-08 09:50:52 -08:00
Eric Liu
c93be373ea style(docs): use autoWidth for <Tabs /> 2024-11-03 14:11:57 -08:00
Eric Liu
5be3da2722 docs: add Bun install command 2024-11-03 14:11:57 -08:00
Eric Liu
61eeb37a74 docs: replace yarn with npm as default 2024-11-03 14:11:57 -08:00
Eric Liu
67673d5161 docs: drop -D flag from install commands 2024-11-03 14:11:57 -08:00
Eric Liu
44daa775d5
fix(data-table): fix DataTableValue type reference in DataTable (#2023) 2024-10-25 15:49:35 -07:00
Eric Liu
58e6021b08
fix(toolbar-search): fix types for on:clear (#2022) 2024-10-25 15:38:31 -07:00
Eric Liu
0831e87135
fix(combo-box): fix types for on:clear (#2020) 2024-10-25 15:36:43 -07:00
Eric Liu
49b5def815
fix(theme): Theme correctly imports toggle, select props (#2019)
Fixes #2018
2024-10-25 14:56:59 -07:00
Eric Liu
f86f593159
docs: update number of carbon-icons-svelte to 2,400+ (#2017) 2024-10-24 13:38:14 -07:00
Eric Liu
3511f09b2e chore(docs): bump deps 2024-10-20 11:00:29 -07:00
Eric Liu
72e7201449 chore(docs): run npm audit fix 2024-10-20 10:56:07 -07:00
dependabot[bot]
64debccd08
build(deps-dev): bump vite from 5.4.1 to 5.4.6 in /docs (#2004)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.1 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 12:08:32 -07:00
metonym
c45c5cd72d chore(docs): patch svelte to 4.2.19 [ci skip] 2024-09-13 09:14:36 -07:00
Eric Liu
d90526bd3a chore(docs): rebuild lockfile [ci skip] 2024-08-24 12:59:46 -07:00
Eric Liu
07c23af870
chore(deps-dev): upgrade sveld for generics support (#1996) 2024-08-23 11:50:57 -07:00
Eric Liu
96cfb4be44
build: replace Yarn with npm (#1993) 2024-08-20 07:00:23 -07:00
Wolfgang Rathgeb
47860ce1d7
fix(text-area): type value prop as nullable (#1933) 2024-08-09 05:55:30 -07:00
metonym
d73fe168f2 chore(docs): bump deps 2024-08-08 12:47:51 -07:00
Eytan
6140c3c5a9
fix(multi-select): fix filterItem return type (#1972) 2024-08-08 12:34:58 -07:00
metonym
607a97cddb docs: remove CDN instructions from site 2024-08-08 12:33:31 -07:00
Eric Liu
ee70fbfa80
chore(docs): add mandatory IBM instrumentation tags (#1988)
Co-authored-by: Jeff Chew <jeff.chew@gmail.com>
2024-08-07 08:58:45 -07:00
Eric Liu
ba27830b2f
docs: update number of icons (#1973) 2024-05-27 09:44:19 -07:00
Eric Liu
1b3907fc71 docs(style): always use dark mode for code snippet 2024-03-31 10:40:49 -07:00
metonym
d5a11489f8
refactor!: use :global() for custom styles (#1940)
* Prefix custom class selectors with `bx--` (primarily used in custom UI Shell components)
* Use `:global` scope so that selector names are not hashed
2024-03-23 13:11:44 -07:00
Eric Liu
acd08cde5c docs(ui-shell): remove unused imports 2024-03-18 14:31:28 -07:00
Nick Wing
6364b23030
fix(checkbox): forward on:focus, on:blur to Checkbox and InlineCheckbox (#1937) 2024-03-16 09:31:30 -07:00
berndfuhrmann
9132bf8e5a
fix(data-table): loosen sort return type to be a number (#1935)
Fixes #1934

Loosen the `sort` return type from `0 | 1 | -1` to `number`.
2024-03-13 09:55:02 -07:00
spburtsev
d8bc65163e
feat(ui-shell): support button tooltip in HeaderGlobalAction (#1894)
Closes #1893
2024-03-07 20:37:58 -08:00
metonym
8bffc17d65 fix(link)!: do not render p for disabled link
Closes #1924

Svelte 5 will not compile if `div` is nested inside `p` element. Refactor Link to render an `a` instead of `p` when disabled.
2024-03-06 22:49:27 -05:00
metonym
91c27d48bf
docs(tag): add "Tooltip in a tag" example (#1922) 2024-03-05 20:55:06 -08:00
Eric Liu
15f0e03c43 docs(button): add description to "Custom element" 2024-02-25 14:11:51 -08:00
Eric Liu
e8d4ed0382 docs(button): add "Link button with icon" example 2024-02-25 14:11:51 -08:00
Eric Liu
ced9673681 docs(toast-notification): add "Autoclose" example 2024-02-25 13:38:46 -08:00
Eric Liu
c6af8bdafe docs(image-loader): add "Dynamic image source" example 2024-02-24 13:40:02 -08:00
metonym
4e6bfd0612
docs(code-snippet): add "Custom show more/less text" example (#1918) 2024-02-24 10:39:14 -08:00
Eric Liu
1901bcddb6 docs(code-snippet): add "Hidden copy, show more buttons" example 2024-02-24 10:24:59 -08:00
Eric Liu
79b0f8dbf0 docs(code-snippet): add "Hidden show more button" example
Related #1536
2024-02-24 10:24:59 -08:00
Eric Liu
4085536189 fix(code-snippet): showMoreLess={false} should hide button
Fixes #1536

If `showMoreLess` is explicitly `false` for multi-line code snippets, the button should not be shown at all.
2024-02-24 10:24:59 -08:00
mmamedel
90dbd1562b
fix(slider): dispatch on:input event (#1906)
Fixes #1643

The dispatched `on:change` event in `Slider` only fires when the slider thumb is released. `on:input` fires when actively dragging the thumb, and should fire on every increment (e.g., 1, 2, 3).
2024-02-10 20:44:39 -08:00
metonym
6590457574
fix(types): improve e.detail type for dispatched events (#1907)
* fix(types): improve `e.detail` type for dispatched events

* Run "yarn build:docs"

* test: assert new types
2024-02-01 10:56:34 -05:00
Gregor Wassmann
3bd943d12c
chore: linting (#1885) 2024-01-11 06:55:39 -08:00
Eric Liu
d3e5b3dd54 chore: re-install sveld and run yarn build:docs 2024-01-09 20:15:04 -08:00
Ryan Marx
59018728df
fix(button): forward on:focus event (#1878)
Fixes #1830
2024-01-09 20:09:11 -08:00
metonym
1600775968
style(docs): color-scheme reflects theme (#1874) 2023-12-30 10:35:44 -08:00
metonym
479225711a
fix(radio-button): allow value type to be a number (#1868) 2023-12-17 09:42:28 -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