Skip to content

Commit

Permalink
chore: update spectrumconfig actiongroup
Browse files Browse the repository at this point in the history
  • Loading branch information
TarunAdobe committed Feb 10, 2025
1 parent 3fe74a2 commit b3986f9
Show file tree
Hide file tree
Showing 12 changed files with 176 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/action-group/src/spectrum-action-group.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ governing permissions and limitations under the License.
z-index: 3;
}

:host:not(.spectrum-ActionGroup--vertical, .spectrum-ActionGroup--compact)
::slotted(*) {
:host(:not([vertical='true'][compact='true'])) ::slotted(*) {
flex-shrink: 0;
}

Expand Down
45 changes: 45 additions & 0 deletions packages/action-group/src/spectrum-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,51 @@ const config = {
},
],
},
{
find: {
type: 'pseudo-class',
kind: 'not',
selectors: [
[
{
type: 'class',
name: 'spectrum-ActionGroup--vertical',
},
],
[
{
type: 'class',
name: 'spectrum-ActionGroup--compact',
},
],
],
},
replace: {
kind: 'not',
type: 'pseudo-class',
selectors: [
[
{
type: 'attribute',
name: 'vertical',
operation: {
operator: 'equal',
value: 'true',
},
},
{
type: 'attribute',
name: 'compact',
operation: {
operator: 'equal',
value: 'true',
},
},
],
],
},
hoist: true,
},
],
},
],
Expand Down
13 changes: 13 additions & 0 deletions packages/icon/src/icon-arrow-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-asterisk-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-checkmark-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-chevron-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-corner-triangle-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-cross-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-dash-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-single-gripper-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
13 changes: 13 additions & 0 deletions packages/icon/src/icon-triple-gripper-overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */

0 comments on commit b3986f9

Please sign in to comment.