@openproject/primer-view-components 0.94.0 → 0.95.0-rc.b42643990
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/assets/styles/primer_view_components.css +1 -1
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/open_project/color_swatch.css +1 -0
- package/app/components/primer/open_project/color_swatch.css.json +6 -0
- package/app/components/primer/open_project/inset_box.css +1 -0
- package/app/components/primer/open_project/inset_box.css.json +9 -0
- package/package.json +1 -1
- package/static/arguments.json +56 -0
- package/static/audited_at.json +2 -0
- package/static/classes.json +15 -0
- package/static/classnames.cjs +5 -0
- package/static/classnames.js +5 -0
- package/static/constants.json +28 -0
- package/static/info_arch.json +289 -0
- package/static/previews.json +146 -0
- package/static/statuses.json +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ColorSwatch--indicator{border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-small);height:var(--base-size-12);width:var(--base-size-12)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.InsetBox--title-container{display:flex;align-items:center;gap:var(--base-size-8);margin-bottom:var(--base-size-8)}.InsetBox--body{display:grid;grid-template-areas:"content clip_board_copy" "actions actions";grid-template-columns:1fr auto;grid-template-rows:auto auto auto;align-items:center}.InsetBox--body--clip_board_copy{align-self:flex-start}.InsetBox--actions{gap:var(--base-size-8)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openproject/primer-view-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.95.0-rc.b42643990",
|
|
4
4
|
"description": "ViewComponents of the Primer Design System for OpenProject",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
package/static/arguments.json
CHANGED
|
@@ -6127,6 +6127,34 @@
|
|
|
6127
6127
|
}
|
|
6128
6128
|
]
|
|
6129
6129
|
},
|
|
6130
|
+
{
|
|
6131
|
+
"component": "OpenProject::ColorSwatch",
|
|
6132
|
+
"status": "open_project",
|
|
6133
|
+
"a11y_reviewed": false,
|
|
6134
|
+
"short_name": "OpenProjectColorSwatch",
|
|
6135
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/color_swatch.rb",
|
|
6136
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/color_swatch/default/",
|
|
6137
|
+
"parameters": [
|
|
6138
|
+
{
|
|
6139
|
+
"name": "hexcode",
|
|
6140
|
+
"type": "String",
|
|
6141
|
+
"default": "N/A",
|
|
6142
|
+
"description": "The hex color code to display, e.g. `#FF0000`."
|
|
6143
|
+
},
|
|
6144
|
+
{
|
|
6145
|
+
"name": "show_value",
|
|
6146
|
+
"type": "Boolean",
|
|
6147
|
+
"default": "`false`",
|
|
6148
|
+
"description": "Whether to display the hex value next to the swatch."
|
|
6149
|
+
},
|
|
6150
|
+
{
|
|
6151
|
+
"name": "system_arguments",
|
|
6152
|
+
"type": "Hash",
|
|
6153
|
+
"default": "N/A",
|
|
6154
|
+
"description": "[System arguments](/system-arguments)"
|
|
6155
|
+
}
|
|
6156
|
+
]
|
|
6157
|
+
},
|
|
6130
6158
|
{
|
|
6131
6159
|
"component": "OpenProject::DangerDialog",
|
|
6132
6160
|
"status": "open_project",
|
|
@@ -6543,6 +6571,34 @@
|
|
|
6543
6571
|
}
|
|
6544
6572
|
]
|
|
6545
6573
|
},
|
|
6574
|
+
{
|
|
6575
|
+
"component": "OpenProject::InsetBox",
|
|
6576
|
+
"status": "open_project",
|
|
6577
|
+
"a11y_reviewed": false,
|
|
6578
|
+
"short_name": "OpenProjectInsetBox",
|
|
6579
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/inset_box.rb",
|
|
6580
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/inset_box/default/",
|
|
6581
|
+
"parameters": [
|
|
6582
|
+
{
|
|
6583
|
+
"name": "border",
|
|
6584
|
+
"type": "Boolean",
|
|
6585
|
+
"default": "`true`",
|
|
6586
|
+
"description": "Whether to render a border around the box."
|
|
6587
|
+
},
|
|
6588
|
+
{
|
|
6589
|
+
"name": "scheme",
|
|
6590
|
+
"type": "Symbol",
|
|
6591
|
+
"default": "`:default`",
|
|
6592
|
+
"description": "One of `:danger`, `:default`, `:info`, `:success`, or `:warning`."
|
|
6593
|
+
},
|
|
6594
|
+
{
|
|
6595
|
+
"name": "system_arguments",
|
|
6596
|
+
"type": "Hash",
|
|
6597
|
+
"default": "N/A",
|
|
6598
|
+
"description": "[System arguments](/system-arguments)"
|
|
6599
|
+
}
|
|
6600
|
+
]
|
|
6601
|
+
},
|
|
6546
6602
|
{
|
|
6547
6603
|
"component": "OpenProject::PageHeader",
|
|
6548
6604
|
"status": "open_project",
|
package/static/audited_at.json
CHANGED
|
@@ -147,6 +147,7 @@
|
|
|
147
147
|
"Primer::OpenProject::BorderGrid::Cell": "",
|
|
148
148
|
"Primer::OpenProject::CollapsibleSection": "",
|
|
149
149
|
"Primer::OpenProject::ColorField": "",
|
|
150
|
+
"Primer::OpenProject::ColorSwatch": "",
|
|
150
151
|
"Primer::OpenProject::DangerDialog": "",
|
|
151
152
|
"Primer::OpenProject::DangerDialog::ConfirmationCheckBox": "",
|
|
152
153
|
"Primer::OpenProject::DangerDialog::FormWrapper": "",
|
|
@@ -163,6 +164,7 @@
|
|
|
163
164
|
"Primer::OpenProject::Heading": "",
|
|
164
165
|
"Primer::OpenProject::InlineMessage": "",
|
|
165
166
|
"Primer::OpenProject::InputGroup": "",
|
|
167
|
+
"Primer::OpenProject::InsetBox": "",
|
|
166
168
|
"Primer::OpenProject::PageHeader": "",
|
|
167
169
|
"Primer::OpenProject::PageHeader::Dialog": "",
|
|
168
170
|
"Primer::OpenProject::PageHeader::Menu": "",
|
package/static/classes.json
CHANGED
|
@@ -268,6 +268,9 @@
|
|
|
268
268
|
"ColorField": [
|
|
269
269
|
"Primer::OpenProject::ColorField"
|
|
270
270
|
],
|
|
271
|
+
"ColorSwatch--indicator": [
|
|
272
|
+
"Primer::OpenProject::ColorSwatch"
|
|
273
|
+
],
|
|
271
274
|
"Counter": [
|
|
272
275
|
"Primer::Beta::Counter"
|
|
273
276
|
],
|
|
@@ -388,6 +391,18 @@
|
|
|
388
391
|
"InputGroup": [
|
|
389
392
|
"Primer::OpenProject::InputGroup"
|
|
390
393
|
],
|
|
394
|
+
"InsetBox--actions": [
|
|
395
|
+
"Primer::OpenProject::InsetBox"
|
|
396
|
+
],
|
|
397
|
+
"InsetBox--body": [
|
|
398
|
+
"Primer::OpenProject::InsetBox"
|
|
399
|
+
],
|
|
400
|
+
"InsetBox--body--clip_board_copy": [
|
|
401
|
+
"Primer::OpenProject::InsetBox"
|
|
402
|
+
],
|
|
403
|
+
"InsetBox--title-container": [
|
|
404
|
+
"Primer::OpenProject::InsetBox"
|
|
405
|
+
],
|
|
391
406
|
"Label": [
|
|
392
407
|
"Primer::Beta::Label"
|
|
393
408
|
],
|
package/static/classnames.cjs
CHANGED
|
@@ -126,6 +126,7 @@ module.exports = new Set([
|
|
|
126
126
|
'ColorField-picker',
|
|
127
127
|
'ColorField-swatch',
|
|
128
128
|
'ColorField-wrap',
|
|
129
|
+
'ColorSwatch--indicator',
|
|
129
130
|
'Counter',
|
|
130
131
|
'Counter--primary',
|
|
131
132
|
'Counter--secondary',
|
|
@@ -196,6 +197,10 @@ module.exports = new Set([
|
|
|
196
197
|
'InputGroup-input-width--xlarge',
|
|
197
198
|
'InputGroup-input-width--xsmall',
|
|
198
199
|
'InputGroup-input-width--xxlarge',
|
|
200
|
+
'InsetBox--actions',
|
|
201
|
+
'InsetBox--body',
|
|
202
|
+
'InsetBox--body--clip_board_copy',
|
|
203
|
+
'InsetBox--title-container',
|
|
199
204
|
'Label',
|
|
200
205
|
'Label--accent',
|
|
201
206
|
'Label--attention',
|
package/static/classnames.js
CHANGED
|
@@ -126,6 +126,7 @@ const classNames = new Set([
|
|
|
126
126
|
'ColorField-picker',
|
|
127
127
|
'ColorField-swatch',
|
|
128
128
|
'ColorField-wrap',
|
|
129
|
+
'ColorSwatch--indicator',
|
|
129
130
|
'Counter',
|
|
130
131
|
'Counter--primary',
|
|
131
132
|
'Counter--secondary',
|
|
@@ -196,6 +197,10 @@ const classNames = new Set([
|
|
|
196
197
|
'InputGroup-input-width--xlarge',
|
|
197
198
|
'InputGroup-input-width--xsmall',
|
|
198
199
|
'InputGroup-input-width--xxlarge',
|
|
200
|
+
'InsetBox--actions',
|
|
201
|
+
'InsetBox--body',
|
|
202
|
+
'InsetBox--body--clip_board_copy',
|
|
203
|
+
'InsetBox--title-container',
|
|
199
204
|
'Label',
|
|
200
205
|
'Label--accent',
|
|
201
206
|
'Label--attention',
|
package/static/constants.json
CHANGED
|
@@ -1767,6 +1767,9 @@
|
|
|
1767
1767
|
"Primer::OpenProject::ColorField": {
|
|
1768
1768
|
"GeneratedSlotMethods": "Primer::OpenProject::ColorField::GeneratedSlotMethods"
|
|
1769
1769
|
},
|
|
1770
|
+
"Primer::OpenProject::ColorSwatch": {
|
|
1771
|
+
"GeneratedSlotMethods": "Primer::OpenProject::ColorSwatch::GeneratedSlotMethods"
|
|
1772
|
+
},
|
|
1770
1773
|
"Primer::OpenProject::DangerDialog": {
|
|
1771
1774
|
"ConfirmationCheckBox": "Primer::OpenProject::DangerDialog::ConfirmationCheckBox",
|
|
1772
1775
|
"FormWrapper": "Primer::OpenProject::DangerDialog::FormWrapper",
|
|
@@ -1900,6 +1903,31 @@
|
|
|
1900
1903
|
"xxlarge"
|
|
1901
1904
|
]
|
|
1902
1905
|
},
|
|
1906
|
+
"Primer::OpenProject::InsetBox": {
|
|
1907
|
+
"DEFAULT_SCHEME": "default",
|
|
1908
|
+
"GeneratedSlotMethods": "Primer::OpenProject::InsetBox::GeneratedSlotMethods",
|
|
1909
|
+
"SCHEME_MAPPINGS": {
|
|
1910
|
+
"default": {
|
|
1911
|
+
"bg": "inset"
|
|
1912
|
+
},
|
|
1913
|
+
"info": {
|
|
1914
|
+
"bg": "accent",
|
|
1915
|
+
"border_color": "accent"
|
|
1916
|
+
},
|
|
1917
|
+
"warning": {
|
|
1918
|
+
"bg": "attention",
|
|
1919
|
+
"border_color": "attention"
|
|
1920
|
+
},
|
|
1921
|
+
"danger": {
|
|
1922
|
+
"bg": "danger",
|
|
1923
|
+
"border_color": "danger"
|
|
1924
|
+
},
|
|
1925
|
+
"success": {
|
|
1926
|
+
"bg": "success",
|
|
1927
|
+
"border_color": "success"
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
},
|
|
1903
1931
|
"Primer::OpenProject::PageHeader": {
|
|
1904
1932
|
"BACK_BUTTON_ICON_OPTIONS": [
|
|
1905
1933
|
"arrow-left",
|
package/static/info_arch.json
CHANGED
|
@@ -20072,6 +20072,91 @@
|
|
|
20072
20072
|
],
|
|
20073
20073
|
"subcomponents": []
|
|
20074
20074
|
},
|
|
20075
|
+
{
|
|
20076
|
+
"fully_qualified_name": "Primer::OpenProject::ColorSwatch",
|
|
20077
|
+
"description": "Displays a small colored indicator for a given hex color code, optionally\nshowing the hex value next to it.",
|
|
20078
|
+
"accessibility_docs": null,
|
|
20079
|
+
"is_form_component": false,
|
|
20080
|
+
"is_published": true,
|
|
20081
|
+
"requires_js": false,
|
|
20082
|
+
"component": "OpenProject::ColorSwatch",
|
|
20083
|
+
"status": "open_project",
|
|
20084
|
+
"a11y_reviewed": false,
|
|
20085
|
+
"short_name": "OpenProjectColorSwatch",
|
|
20086
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/color_swatch.rb",
|
|
20087
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/color_swatch/default/",
|
|
20088
|
+
"parameters": [
|
|
20089
|
+
{
|
|
20090
|
+
"name": "hexcode",
|
|
20091
|
+
"type": "String",
|
|
20092
|
+
"default": "N/A",
|
|
20093
|
+
"description": "The hex color code to display, e.g. `#FF0000`."
|
|
20094
|
+
},
|
|
20095
|
+
{
|
|
20096
|
+
"name": "show_value",
|
|
20097
|
+
"type": "Boolean",
|
|
20098
|
+
"default": "`false`",
|
|
20099
|
+
"description": "Whether to display the hex value next to the swatch."
|
|
20100
|
+
},
|
|
20101
|
+
{
|
|
20102
|
+
"name": "system_arguments",
|
|
20103
|
+
"type": "Hash",
|
|
20104
|
+
"default": "N/A",
|
|
20105
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
20106
|
+
}
|
|
20107
|
+
],
|
|
20108
|
+
"slots": [],
|
|
20109
|
+
"methods": [
|
|
20110
|
+
{
|
|
20111
|
+
"name": "hexcode",
|
|
20112
|
+
"description": "Returns the value of attribute hexcode.",
|
|
20113
|
+
"parameters": [],
|
|
20114
|
+
"return_types": []
|
|
20115
|
+
}
|
|
20116
|
+
],
|
|
20117
|
+
"previews": [
|
|
20118
|
+
{
|
|
20119
|
+
"preview_path": "primer/open_project/color_swatch/playground",
|
|
20120
|
+
"name": "playground",
|
|
20121
|
+
"snapshot": "false",
|
|
20122
|
+
"skip_rules": {
|
|
20123
|
+
"wont_fix": [
|
|
20124
|
+
"region"
|
|
20125
|
+
],
|
|
20126
|
+
"will_fix": [
|
|
20127
|
+
"color-contrast"
|
|
20128
|
+
]
|
|
20129
|
+
}
|
|
20130
|
+
},
|
|
20131
|
+
{
|
|
20132
|
+
"preview_path": "primer/open_project/color_swatch/default",
|
|
20133
|
+
"name": "default",
|
|
20134
|
+
"snapshot": "true",
|
|
20135
|
+
"skip_rules": {
|
|
20136
|
+
"wont_fix": [
|
|
20137
|
+
"region"
|
|
20138
|
+
],
|
|
20139
|
+
"will_fix": [
|
|
20140
|
+
"color-contrast"
|
|
20141
|
+
]
|
|
20142
|
+
}
|
|
20143
|
+
},
|
|
20144
|
+
{
|
|
20145
|
+
"preview_path": "primer/open_project/color_swatch/with_value",
|
|
20146
|
+
"name": "with_value",
|
|
20147
|
+
"snapshot": "true",
|
|
20148
|
+
"skip_rules": {
|
|
20149
|
+
"wont_fix": [
|
|
20150
|
+
"region"
|
|
20151
|
+
],
|
|
20152
|
+
"will_fix": [
|
|
20153
|
+
"color-contrast"
|
|
20154
|
+
]
|
|
20155
|
+
}
|
|
20156
|
+
}
|
|
20157
|
+
],
|
|
20158
|
+
"subcomponents": []
|
|
20159
|
+
},
|
|
20075
20160
|
{
|
|
20076
20161
|
"fully_qualified_name": "Primer::OpenProject::DangerDialog",
|
|
20077
20162
|
"description": "A pre-configured dialog for destructive/\"potentially dangerous\" actions",
|
|
@@ -21533,6 +21618,210 @@
|
|
|
21533
21618
|
],
|
|
21534
21619
|
"subcomponents": []
|
|
21535
21620
|
},
|
|
21621
|
+
{
|
|
21622
|
+
"fully_qualified_name": "Primer::OpenProject::InsetBox",
|
|
21623
|
+
"description": "A box with an inset background, used to call out a piece of content such\nas a tip, a warning, or a code snippet, optionally with a title, icon and actions.",
|
|
21624
|
+
"accessibility_docs": null,
|
|
21625
|
+
"is_form_component": false,
|
|
21626
|
+
"is_published": true,
|
|
21627
|
+
"requires_js": false,
|
|
21628
|
+
"component": "OpenProject::InsetBox",
|
|
21629
|
+
"status": "open_project",
|
|
21630
|
+
"a11y_reviewed": false,
|
|
21631
|
+
"short_name": "OpenProjectInsetBox",
|
|
21632
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/inset_box.rb",
|
|
21633
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/inset_box/default/",
|
|
21634
|
+
"parameters": [
|
|
21635
|
+
{
|
|
21636
|
+
"name": "border",
|
|
21637
|
+
"type": "Boolean",
|
|
21638
|
+
"default": "`true`",
|
|
21639
|
+
"description": "Whether to render a border around the box."
|
|
21640
|
+
},
|
|
21641
|
+
{
|
|
21642
|
+
"name": "scheme",
|
|
21643
|
+
"type": "Symbol",
|
|
21644
|
+
"default": "`:default`",
|
|
21645
|
+
"description": "One of `:danger`, `:default`, `:info`, `:success`, or `:warning`."
|
|
21646
|
+
},
|
|
21647
|
+
{
|
|
21648
|
+
"name": "system_arguments",
|
|
21649
|
+
"type": "Hash",
|
|
21650
|
+
"default": "N/A",
|
|
21651
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
21652
|
+
}
|
|
21653
|
+
],
|
|
21654
|
+
"slots": [
|
|
21655
|
+
{
|
|
21656
|
+
"name": "title_icon",
|
|
21657
|
+
"description": null,
|
|
21658
|
+
"parameters": [
|
|
21659
|
+
{
|
|
21660
|
+
"name": "system_arguments",
|
|
21661
|
+
"type": "Hash",
|
|
21662
|
+
"default": "N/A",
|
|
21663
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
21664
|
+
}
|
|
21665
|
+
]
|
|
21666
|
+
},
|
|
21667
|
+
{
|
|
21668
|
+
"name": "title",
|
|
21669
|
+
"description": null,
|
|
21670
|
+
"parameters": [
|
|
21671
|
+
{
|
|
21672
|
+
"name": "tag",
|
|
21673
|
+
"type": "Symbol",
|
|
21674
|
+
"default": "N/A",
|
|
21675
|
+
"description": "One of `:h1`, `:h2`, `:h3`, `:h4`, `:h5`, or `:h6`."
|
|
21676
|
+
},
|
|
21677
|
+
{
|
|
21678
|
+
"name": "system_arguments",
|
|
21679
|
+
"type": "Hash",
|
|
21680
|
+
"default": "N/A",
|
|
21681
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
21682
|
+
}
|
|
21683
|
+
]
|
|
21684
|
+
},
|
|
21685
|
+
{
|
|
21686
|
+
"name": "actions",
|
|
21687
|
+
"description": null,
|
|
21688
|
+
"parameters": [
|
|
21689
|
+
{
|
|
21690
|
+
"name": "system_arguments",
|
|
21691
|
+
"type": "Hash",
|
|
21692
|
+
"default": "N/A",
|
|
21693
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
21694
|
+
}
|
|
21695
|
+
]
|
|
21696
|
+
},
|
|
21697
|
+
{
|
|
21698
|
+
"name": "clipboard_copy_button",
|
|
21699
|
+
"description": null,
|
|
21700
|
+
"parameters": [
|
|
21701
|
+
{
|
|
21702
|
+
"name": "system_arguments",
|
|
21703
|
+
"type": "Hash",
|
|
21704
|
+
"default": "N/A",
|
|
21705
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
21706
|
+
}
|
|
21707
|
+
]
|
|
21708
|
+
}
|
|
21709
|
+
],
|
|
21710
|
+
"methods": [
|
|
21711
|
+
{
|
|
21712
|
+
"name": "border",
|
|
21713
|
+
"description": "Returns the value of attribute border.",
|
|
21714
|
+
"parameters": [],
|
|
21715
|
+
"return_types": []
|
|
21716
|
+
},
|
|
21717
|
+
{
|
|
21718
|
+
"name": "scheme_arguments",
|
|
21719
|
+
"description": "Returns the value of attribute scheme_arguments.",
|
|
21720
|
+
"parameters": [],
|
|
21721
|
+
"return_types": []
|
|
21722
|
+
},
|
|
21723
|
+
{
|
|
21724
|
+
"name": "system_arguments",
|
|
21725
|
+
"description": "Returns the value of attribute system_arguments.",
|
|
21726
|
+
"parameters": [],
|
|
21727
|
+
"return_types": []
|
|
21728
|
+
}
|
|
21729
|
+
],
|
|
21730
|
+
"previews": [
|
|
21731
|
+
{
|
|
21732
|
+
"preview_path": "primer/open_project/inset_box/playground",
|
|
21733
|
+
"name": "playground",
|
|
21734
|
+
"snapshot": "false",
|
|
21735
|
+
"skip_rules": {
|
|
21736
|
+
"wont_fix": [
|
|
21737
|
+
"region"
|
|
21738
|
+
],
|
|
21739
|
+
"will_fix": [
|
|
21740
|
+
"color-contrast"
|
|
21741
|
+
]
|
|
21742
|
+
}
|
|
21743
|
+
},
|
|
21744
|
+
{
|
|
21745
|
+
"preview_path": "primer/open_project/inset_box/default",
|
|
21746
|
+
"name": "default",
|
|
21747
|
+
"snapshot": "true",
|
|
21748
|
+
"skip_rules": {
|
|
21749
|
+
"wont_fix": [
|
|
21750
|
+
"region"
|
|
21751
|
+
],
|
|
21752
|
+
"will_fix": [
|
|
21753
|
+
"color-contrast"
|
|
21754
|
+
]
|
|
21755
|
+
}
|
|
21756
|
+
},
|
|
21757
|
+
{
|
|
21758
|
+
"preview_path": "primer/open_project/inset_box/with_scheme",
|
|
21759
|
+
"name": "with_scheme",
|
|
21760
|
+
"snapshot": "true",
|
|
21761
|
+
"skip_rules": {
|
|
21762
|
+
"wont_fix": [
|
|
21763
|
+
"region"
|
|
21764
|
+
],
|
|
21765
|
+
"will_fix": [
|
|
21766
|
+
"color-contrast"
|
|
21767
|
+
]
|
|
21768
|
+
}
|
|
21769
|
+
},
|
|
21770
|
+
{
|
|
21771
|
+
"preview_path": "primer/open_project/inset_box/with_icon",
|
|
21772
|
+
"name": "with_icon",
|
|
21773
|
+
"snapshot": "true",
|
|
21774
|
+
"skip_rules": {
|
|
21775
|
+
"wont_fix": [
|
|
21776
|
+
"region"
|
|
21777
|
+
],
|
|
21778
|
+
"will_fix": [
|
|
21779
|
+
"color-contrast"
|
|
21780
|
+
]
|
|
21781
|
+
}
|
|
21782
|
+
},
|
|
21783
|
+
{
|
|
21784
|
+
"preview_path": "primer/open_project/inset_box/with_clipboard_copy_button",
|
|
21785
|
+
"name": "with_clipboard_copy_button",
|
|
21786
|
+
"snapshot": "true",
|
|
21787
|
+
"skip_rules": {
|
|
21788
|
+
"wont_fix": [
|
|
21789
|
+
"region"
|
|
21790
|
+
],
|
|
21791
|
+
"will_fix": [
|
|
21792
|
+
"color-contrast"
|
|
21793
|
+
]
|
|
21794
|
+
}
|
|
21795
|
+
},
|
|
21796
|
+
{
|
|
21797
|
+
"preview_path": "primer/open_project/inset_box/with_actions",
|
|
21798
|
+
"name": "with_actions",
|
|
21799
|
+
"snapshot": "true",
|
|
21800
|
+
"skip_rules": {
|
|
21801
|
+
"wont_fix": [
|
|
21802
|
+
"region"
|
|
21803
|
+
],
|
|
21804
|
+
"will_fix": [
|
|
21805
|
+
"color-contrast"
|
|
21806
|
+
]
|
|
21807
|
+
}
|
|
21808
|
+
},
|
|
21809
|
+
{
|
|
21810
|
+
"preview_path": "primer/open_project/inset_box/without_border",
|
|
21811
|
+
"name": "without_border",
|
|
21812
|
+
"snapshot": "true",
|
|
21813
|
+
"skip_rules": {
|
|
21814
|
+
"wont_fix": [
|
|
21815
|
+
"region"
|
|
21816
|
+
],
|
|
21817
|
+
"will_fix": [
|
|
21818
|
+
"color-contrast"
|
|
21819
|
+
]
|
|
21820
|
+
}
|
|
21821
|
+
}
|
|
21822
|
+
],
|
|
21823
|
+
"subcomponents": []
|
|
21824
|
+
},
|
|
21536
21825
|
{
|
|
21537
21826
|
"fully_qualified_name": "Primer::OpenProject::PageHeader",
|
|
21538
21827
|
"description": "A ViewComponent PageHeader inspired by the primer react variant",
|
package/static/previews.json
CHANGED
|
@@ -8990,6 +8990,53 @@
|
|
|
8990
8990
|
}
|
|
8991
8991
|
]
|
|
8992
8992
|
},
|
|
8993
|
+
{
|
|
8994
|
+
"name": "color_swatch",
|
|
8995
|
+
"component": "OpenProject::ColorSwatch",
|
|
8996
|
+
"status": "open_project",
|
|
8997
|
+
"lookup_path": "primer/open_project/color_swatch",
|
|
8998
|
+
"examples": [
|
|
8999
|
+
{
|
|
9000
|
+
"preview_path": "primer/open_project/color_swatch/playground",
|
|
9001
|
+
"name": "playground",
|
|
9002
|
+
"snapshot": "false",
|
|
9003
|
+
"skip_rules": {
|
|
9004
|
+
"wont_fix": [
|
|
9005
|
+
"region"
|
|
9006
|
+
],
|
|
9007
|
+
"will_fix": [
|
|
9008
|
+
"color-contrast"
|
|
9009
|
+
]
|
|
9010
|
+
}
|
|
9011
|
+
},
|
|
9012
|
+
{
|
|
9013
|
+
"preview_path": "primer/open_project/color_swatch/default",
|
|
9014
|
+
"name": "default",
|
|
9015
|
+
"snapshot": "true",
|
|
9016
|
+
"skip_rules": {
|
|
9017
|
+
"wont_fix": [
|
|
9018
|
+
"region"
|
|
9019
|
+
],
|
|
9020
|
+
"will_fix": [
|
|
9021
|
+
"color-contrast"
|
|
9022
|
+
]
|
|
9023
|
+
}
|
|
9024
|
+
},
|
|
9025
|
+
{
|
|
9026
|
+
"preview_path": "primer/open_project/color_swatch/with_value",
|
|
9027
|
+
"name": "with_value",
|
|
9028
|
+
"snapshot": "true",
|
|
9029
|
+
"skip_rules": {
|
|
9030
|
+
"wont_fix": [
|
|
9031
|
+
"region"
|
|
9032
|
+
],
|
|
9033
|
+
"will_fix": [
|
|
9034
|
+
"color-contrast"
|
|
9035
|
+
]
|
|
9036
|
+
}
|
|
9037
|
+
}
|
|
9038
|
+
]
|
|
9039
|
+
},
|
|
8993
9040
|
{
|
|
8994
9041
|
"name": "danger_dialog",
|
|
8995
9042
|
"component": "OpenProject::DangerDialog",
|
|
@@ -9759,6 +9806,105 @@
|
|
|
9759
9806
|
}
|
|
9760
9807
|
]
|
|
9761
9808
|
},
|
|
9809
|
+
{
|
|
9810
|
+
"name": "inset_box",
|
|
9811
|
+
"component": "OpenProject::InsetBox",
|
|
9812
|
+
"status": "open_project",
|
|
9813
|
+
"lookup_path": "primer/open_project/inset_box",
|
|
9814
|
+
"examples": [
|
|
9815
|
+
{
|
|
9816
|
+
"preview_path": "primer/open_project/inset_box/playground",
|
|
9817
|
+
"name": "playground",
|
|
9818
|
+
"snapshot": "false",
|
|
9819
|
+
"skip_rules": {
|
|
9820
|
+
"wont_fix": [
|
|
9821
|
+
"region"
|
|
9822
|
+
],
|
|
9823
|
+
"will_fix": [
|
|
9824
|
+
"color-contrast"
|
|
9825
|
+
]
|
|
9826
|
+
}
|
|
9827
|
+
},
|
|
9828
|
+
{
|
|
9829
|
+
"preview_path": "primer/open_project/inset_box/default",
|
|
9830
|
+
"name": "default",
|
|
9831
|
+
"snapshot": "true",
|
|
9832
|
+
"skip_rules": {
|
|
9833
|
+
"wont_fix": [
|
|
9834
|
+
"region"
|
|
9835
|
+
],
|
|
9836
|
+
"will_fix": [
|
|
9837
|
+
"color-contrast"
|
|
9838
|
+
]
|
|
9839
|
+
}
|
|
9840
|
+
},
|
|
9841
|
+
{
|
|
9842
|
+
"preview_path": "primer/open_project/inset_box/with_scheme",
|
|
9843
|
+
"name": "with_scheme",
|
|
9844
|
+
"snapshot": "true",
|
|
9845
|
+
"skip_rules": {
|
|
9846
|
+
"wont_fix": [
|
|
9847
|
+
"region"
|
|
9848
|
+
],
|
|
9849
|
+
"will_fix": [
|
|
9850
|
+
"color-contrast"
|
|
9851
|
+
]
|
|
9852
|
+
}
|
|
9853
|
+
},
|
|
9854
|
+
{
|
|
9855
|
+
"preview_path": "primer/open_project/inset_box/with_icon",
|
|
9856
|
+
"name": "with_icon",
|
|
9857
|
+
"snapshot": "true",
|
|
9858
|
+
"skip_rules": {
|
|
9859
|
+
"wont_fix": [
|
|
9860
|
+
"region"
|
|
9861
|
+
],
|
|
9862
|
+
"will_fix": [
|
|
9863
|
+
"color-contrast"
|
|
9864
|
+
]
|
|
9865
|
+
}
|
|
9866
|
+
},
|
|
9867
|
+
{
|
|
9868
|
+
"preview_path": "primer/open_project/inset_box/with_clipboard_copy_button",
|
|
9869
|
+
"name": "with_clipboard_copy_button",
|
|
9870
|
+
"snapshot": "true",
|
|
9871
|
+
"skip_rules": {
|
|
9872
|
+
"wont_fix": [
|
|
9873
|
+
"region"
|
|
9874
|
+
],
|
|
9875
|
+
"will_fix": [
|
|
9876
|
+
"color-contrast"
|
|
9877
|
+
]
|
|
9878
|
+
}
|
|
9879
|
+
},
|
|
9880
|
+
{
|
|
9881
|
+
"preview_path": "primer/open_project/inset_box/with_actions",
|
|
9882
|
+
"name": "with_actions",
|
|
9883
|
+
"snapshot": "true",
|
|
9884
|
+
"skip_rules": {
|
|
9885
|
+
"wont_fix": [
|
|
9886
|
+
"region"
|
|
9887
|
+
],
|
|
9888
|
+
"will_fix": [
|
|
9889
|
+
"color-contrast"
|
|
9890
|
+
]
|
|
9891
|
+
}
|
|
9892
|
+
},
|
|
9893
|
+
{
|
|
9894
|
+
"preview_path": "primer/open_project/inset_box/without_border",
|
|
9895
|
+
"name": "without_border",
|
|
9896
|
+
"snapshot": "true",
|
|
9897
|
+
"skip_rules": {
|
|
9898
|
+
"wont_fix": [
|
|
9899
|
+
"region"
|
|
9900
|
+
],
|
|
9901
|
+
"will_fix": [
|
|
9902
|
+
"color-contrast"
|
|
9903
|
+
]
|
|
9904
|
+
}
|
|
9905
|
+
}
|
|
9906
|
+
]
|
|
9907
|
+
},
|
|
9762
9908
|
{
|
|
9763
9909
|
"name": "page_header",
|
|
9764
9910
|
"component": "OpenProject::PageHeader",
|