-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
781 changed files
with
48,476 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules | ||
dist | ||
test | ||
|
||
packages/icons/src/index.ts | ||
packages/core/icons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
packages/core/components | ||
packages/core/loader | ||
packages/core/icons | ||
apps/docs/public | ||
docs/public | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,39 @@ | ||
Start commands | ||
<a href="https://design.baloise.dev" target="blank"> | ||
<img src="https://raw.githubusercontent.com/baloise/design-system/main/resources/images/banner.svg?sanitize=true" alt="Baloise Design System" /> | ||
</a> | ||
|
||
npx nx run core:start | ||
npx nx run docs:start | ||
npx nx run e2e:start | ||
<br> | ||
|
||
[](https://github.com/baloise/design-system/actions/workflows/continuous.yml) | ||
|
||
 | ||
 | ||
 | ||
 | ||
 | ||
[](https://webnamespaces.org) | ||
 | ||
|
||
## About | ||
|
||
The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications. | ||
|
||
Check out the [documentation](https://design.baloise.dev) | ||
|
||
## Packages | ||
|
||
| Package | Status | Description | | ||
| ------------------------------------------------ | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------- | | ||
| [Components](https://design.baloise.dev) |  | Core package build with web components and global styling. | | ||
| [Components Angular](https://design.baloise.dev) |  | Angular component proxies based on the the core package. | | ||
| [Components Vue](https://design.baloise.dev) |  | Vue component proxies based on the the core package. | | ||
| [Components React](https://design.baloise.dev) |  | React component proxies based on the the core package. | | ||
| [Components Table](https://design.baloise.dev) |  | Integration library for AG-Grid with styles and renderer functions | | ||
| [CLI](https://design.baloise.dev) |  | CLI to scaffold an angular project or migration helpers. | | ||
| [Tokens](https://design.baloise.dev) |  | Design Tokens like color and spacing. | | ||
| [Styles](https://design.baloise.dev) |  | Basic CSS styles with utility classes. | | ||
| [Icons](https://design.baloise.dev) |  | SVG icons of the design system. | | ||
| [Favicons](https://design.baloise.dev) |  | Favicons of the design system. | | ||
| [Maps](https://design.baloise.dev) |  | Google Maps styles and icons. | | ||
| [Fonts](https://design.baloise.dev) |  | Web-Font of the design system. | | ||
| [Testing](https://design.baloise.dev) |  | Testing package with custom and overridden commands for each component. | |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ocs/.storybook/addons/version/register.js → docs/.storybook/addons/version/register.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../blocks/css-utils/CssBackgroundColors.tsx → .../blocks/css-utils/CssBackgroundColors.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
....storybook/blocks/css-utils/CssBorder.tsx → ....storybook/blocks/css-utils/CssBorder.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...orybook/blocks/css-utils/CssElevation.tsx → ...orybook/blocks/css-utils/CssElevation.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...storybook/blocks/css-utils/CssFlexbox.tsx → ...storybook/blocks/css-utils/CssFlexbox.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...book/blocks/css-utils/CssInteractions.tsx → ...book/blocks/css-utils/CssInteractions.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import React from 'react' | ||
import { CssUtilitiesTable } from './helpers/CssPropertyTable' | ||
import json from '../../../../../packages/styles/docs/interaction.json' | ||
import json from '../../../../packages/styles/docs/interaction.json' | ||
|
||
export const CssInteractionsCursor = () => <CssUtilitiesTable list={json} search="cursor" /> | ||
export const CssInteractionsUserSelect = () => <CssUtilitiesTable list={json} search="user-select" /> |
2 changes: 1 addition & 1 deletion
2
....storybook/blocks/css-utils/CssLayout.tsx → ....storybook/blocks/css-utils/CssLayout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
....storybook/blocks/css-utils/CssSizing.tsx → ....storybook/blocks/css-utils/CssSizing.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...rybook/blocks/css-utils/CssTypography.tsx → ...rybook/blocks/css-utils/CssTypography.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
### bal-accordion | ||
|
||
#### Properties | ||
|
||
| Property | Attribute | Description | Type | Default | | ||
| ------------ | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | --------- | | ||
| `active` | `active` | If `true` the accordion is open. | `boolean` | `false` | | ||
| `card` | `card` | If `true` the accordion is used on the bottom of a card | `boolean` | `false` | | ||
| `closeIcon` | `close-icon` | BalIcon of the close trigger button | `string` | `'close'` | | ||
| `closeLabel` | `close-label` | Label of the close trigger button | `string` | `''` | | ||
| `debounce` | `debounce` | Set the amount of time, in milliseconds, to wait to trigger the `balChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`. | `number` | `0` | | ||
| `openIcon` | `open-icon` | BalIcon of the open trigger button | `string` | `'plus'` | | ||
| `openLabel` | `open-label` | Label of the open trigger button | `string` | `''` | | ||
|
||
|
||
#### Events | ||
|
||
| Event | Description | Type | | ||
| ---------------- | ----------------------------------------------- | ---------------------- | | ||
| `balChange` | Emitted when the accordion has opened or closed | `CustomEvent<boolean>` | | ||
| `balDidAnimate` | Emitted after the animation has finished | `CustomEvent<boolean>` | | ||
| `balWillAnimate` | Emitted before the animation starts | `CustomEvent<boolean>` | | ||
|
||
|
||
#### Methods | ||
|
||
| Method | Description | Type | | ||
| --------- | ---------------------- | ------------------------------- | | ||
| `dismiss` | Closes the accordion | `dismiss() => Promise<boolean>` | | ||
| `present` | Opens the accordion | `present() => Promise<boolean>` | | ||
| `toggle` | Triggers the accordion | `toggle() => Promise<boolean>` | | ||
|
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
docs/stories/components/bal-accordion/bal-accordion-summary/api.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### bal-accordion-summary | ||
|
||
#### Properties | ||
|
||
| Property | Attribute | Description | Type | Default | | ||
| --------- | --------- | -------------------------------------------------------------------------- | --------- | ------- | | ||
| `trigger` | `trigger` | If `true` the whole summary component acts as a trigger and can be clicked | `boolean` | `false` | | ||
|
||
|
||
|
16 changes: 16 additions & 0 deletions
16
docs/stories/components/bal-accordion/bal-accordion-trigger/api.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### bal-accordion-trigger | ||
|
||
#### Properties | ||
|
||
| Property | Attribute | Description | Type | Default | | ||
| ------------ | ------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | | ||
| `button` | `button` | Trigger will be a bal-button | `boolean` | `false` | | ||
| `closeIcon` | `close-icon` | BalIcon of the close trigger button | `string` | `''` | | ||
| `closeLabel` | `close-label` | Label of the close trigger button | `string` | `''` | | ||
| `color` | `color` | The color to use from your application's color palette. | `"danger" `, ` "info" `, ` "info-light" `, ` "light" `, ` "link" `, ` "primary" `, ` "primary-light" `, ` "secondary" `, ` "success" `, ` "tertiary" `, ` "tertiary-green" `, ` "tertiary-purple" `, ` "tertiary-red" `, ` "tertiary-yellow" `, ` "text" `, ` "warning"` | `'info'` | | ||
| `openIcon` | `open-icon` | BalIcon of the open trigger button | `string` | `'caret-down'` | | ||
| `openLabel` | `open-label` | Label of the open trigger button | `string` | `''` | | ||
| `size` | `size` | Size of the button | `"" `, ` "small"` | `''` | | ||
|
||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.